Complex Datatypes
Lists in python allows you to store different data types
student_names=('karthik','Raj','Selvi','Mayank','Rupali'), **len(student_names)** will return _______
student_info={"name":"Prasad","Age":24,"Hometown":"mumbai","Occupation":"Engineer"}, **student_info.keys()** will return _________
When you try to access indices which are not present in the list what will happen?
In order to access a range of elements from a tuple, which of the following operator is used?
student_names=('karthik','Raj','Selvi','Mayank','Rupali'), **student_names[1:2]** will return?
student_names=('karthik','Raj','Selvi','Mayank','Rupali'), **student_names[-1:-2]** will return?
Which of the following datatypes once created does not allows you to modify or change elements?
numbers=(1,2,2,3,4,5,6,7,7,7), numbers.count(2) will return the output as ?
student_info={"name":"Prasad","Age":24,"Hometown":"mumbai","Occupation":"Engineer"}, **student_info.items()** will return?
fruits={'apple','grapes','banana','kiwi','strawberry'}, fruits.index(0) will return _____
numbers=(1,2,2,3,4,5,6,7,7,7), numbers.index(7) will return the output as?