Python When is the finally block executed? when there is no exception only if some condition that has been specified is satisfied always when there is an exception when there is no exception only if some condition that has been specified is satisfied always when there is an exception ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? 0 True False 1 0 True False 1 ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? Less restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method Makes the program code smaller More restriction on the type values that can be passed to a given method Less restriction on the type values that can be passed to a given method No restriction on the type values that can be passed to a given method Makes the program code smaller More restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? NameError AssignmentError IOError ValueError NameError AssignmentError IOError ValueError ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 2 1 4 0 2 1 4 0 ANSWER DOWNLOAD EXAMIANS APP
Python Why are local variable names beginning with an underscore discouraged in Python Programming? they confuse the interpreter they slow down execution they are used to indicate global variables they are used to indicate a private variables of a class they confuse the interpreter they slow down execution they are used to indicate global variables they are used to indicate a private variables of a class ANSWER DOWNLOAD EXAMIANS APP