Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 0 4 2 1 TRUE ANSWER : ? YOUR ANSWER : ?
What type of data is: a=[(1,1),(2,4),(3,9)]? Invalid type List of tuples Array of tuples Tuples of lists TRUE ANSWER : ? YOUR ANSWER : ?
In Python, which of the following cannot be a variable? It on in __init__ TRUE ANSWER : ? YOUR ANSWER : ?
Which of these about a dictionary is false? Dictionaries are mutable Dictionaries aren’t ordered The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values TRUE ANSWER : ? YOUR ANSWER : ?
The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ newline caret (^) percentage symbol (%) ampersand (&) TRUE ANSWER : ? YOUR ANSWER : ?
What error occurs when you execute the following Python code snippet? apple = mango ValueError NameError SyntaxError TypeError TRUE ANSWER : ? YOUR ANSWER : ?
Which is the correct expression for power(xy ) in Python? None of the mentioned x^y x**y x^^y TRUE ANSWER : ? YOUR ANSWER : ?
config() in python Tkinter are used for destroy the widget change property of the widget configure the widget place the widget TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a standard exception in Python? IOError ValueError AssignmentError NameError TRUE ANSWER : ? YOUR ANSWER : ?