Python Revision Tour I & II - Quiz 2
Sign in to Google to save your progress. Learn more
Email *
What is the output when we execute list(“hello”)? *
1 point
To insert 5 to the third position in list1, we use which command? *
1 point
Suppose list1 is [2, 33, 222, 14, 25], What is list1[:-1]? *
1 point
Which of the following is not a keyword? *
1 point
To add a new element to a list we use which command? *
1 point
Find the operator which cannot be used with a string in Python from the following *
1 point
Suppose list1 is [2, 33, 222, 14, 25], What is list1[-1]? *
1 point
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()? *
1 point
Suppose list1 is [2445,133,12454,123], what is max(list1)? *
1 point
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1.count(5)? *
1 point
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])? *
1 point
Which value type does input() return? *
1 point
The keys of a dictionary must be of types. *
1 point
The operator_______tells if an element is present in a sequence or not. *
1 point
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5)? *
1 point
Submit
Clear form
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy