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