Python Why are local variable names beginning with an underscore discouraged in Python Programming? they slow down execution they are used to indicate a private variables of a class they confuse the interpreter they are used to indicate global variables they slow down execution they are used to indicate a private variables of a class they confuse the interpreter they are used to indicate global variables ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is no exception when there is an exception always only if some condition that has been specified is satisfied when there is no exception when there is an exception always only if some condition that has been specified is satisfied ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when no exception occurs Always when an exception occurs in to except block when an exception occurs when no exception occurs Always when an exception occurs in to except block when an exception occurs ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? All of the mentioned Decomposing complex problems into simpler pieces Reducing duplication of code Improving clarity of the code All of the mentioned Decomposing complex problems into simpler pieces Reducing duplication of code Improving clarity of the code ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? __init__ on It in __init__ on It in ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? AssignmentError IOError ValueError NameError AssignmentError IOError ValueError NameError ANSWER DOWNLOAD EXAMIANS APP