Python Which of the following is the use of id() function in python? None of the mentioned All of the mentioned Every object doesn’t have a unique id id returns the identity of the object None of the mentioned All of the mentioned Every object doesn’t have a unique id id returns the identity of the object ANSWER DOWNLOAD EXAMIANS APP
Python Which of these about a dictionary is false? Dictionaries aren’t ordered The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values 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 Dictionaries are mutable ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? more than zero one more than one zero more than zero one more than one zero ANSWER DOWNLOAD EXAMIANS APP
Python Why are local variable names beginning with an underscore discouraged in Python Programming? they are used to indicate global variables they confuse the interpreter they slow down execution they are used to indicate a private variables of a class they are used to indicate global variables they confuse the interpreter they slow down execution they are used to indicate a private variables of a class ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.add(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.append(3, 5) list1.add(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.append(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango SyntaxError NameError TypeError ValueError SyntaxError NameError TypeError ValueError ANSWER DOWNLOAD EXAMIANS APP