Python What is the result of cmp(3, 1) in python? 0 1 True False 0 1 True False ANSWER DOWNLOAD EXAMIANS APP
Python What data type is the object below in Python? L = [1, 23, 'hello', 1] array list dictionary tuple array list dictionary tuple ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? None of the mentioned Every object doesn’t have a unique id id returns the identity of the object All of the mentioned None of the mentioned Every object doesn’t have a unique id id returns the identity of the object All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when no exception occurs when an exception occurs when an exception occurs in to except block Always when no exception occurs when an exception occurs when an exception occurs in to except block Always 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(3, 5) list1.append(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.insert(3, 5) list1.append(3, 5) list1.insert(2, 5) 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 slow down execution they confuse the interpreter they are used to indicate a private variables of a class they are used to indicate global variables they slow down execution they confuse the interpreter they are used to indicate a private variables of a class ANSWER DOWNLOAD EXAMIANS APP