Python When will the else part of try-except-else be executed? when an exception occurs 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 ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? NameError IOError AssignmentError ValueError NameError IOError AssignmentError ValueError ANSWER DOWNLOAD EXAMIANS APP
Python In which of the following field, we can put our Button? Window Frame All of the mentioned Label Window Frame All of the mentioned Label ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following statements is true? When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed When there is a deviation from the rules of a programming language, a semantic error is thrown The standard exceptions are automatically imported into Python programs All raised standard exceptions must be handled in Python If any exception is thrown in try block, else block is executed ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is invalid variable in Python? __str__ = 1 __a = 1 None of the mentioned _a = 1 __str__ = 1 __a = 1 None of the mentioned _a = 1 ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 4 0 1 2 4 0 1 2 ANSWER DOWNLOAD EXAMIANS APP