Python Which of the following is the use of id() function in python? All of the mentioned None of the mentioned id returns the identity of the object Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? zero more than one more than zero one zero more than one more than zero one ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when an exception occurs Always when an exception occurs in to except block when no exception occurs when an exception occurs Always when an exception occurs in to except block when no exception occurs ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is no exception when there is an exception only if some condition that has been specified is satisfied always when there is no exception when there is an exception only if some condition that has been specified is satisfied always ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? AssignmentError ValueError IOError NameError AssignmentError ValueError IOError NameError ANSWER DOWNLOAD EXAMIANS APP