Python When will the else part of try-except-else be executed? when an exception occurs when no exception occurs when an exception occurs in to except block Always when an exception occurs when no exception occurs when an exception occurs in to except block Always ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 1 2 4 0 1 2 4 0 ANSWER DOWNLOAD EXAMIANS APP
Python What is the output of print 0.1 + 0.2 == 0.3 in python? False True Machine dependent Error False True Machine dependent Error ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is invalid variable in Python? None of the mentioned __a = 1 _a = 1 __str__ = 1 None of the mentioned __a = 1 _a = 1 __str__ = 1 ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? ‘3\’ ”’That’s okay”’ “He said, ‘Yes!'” ‘”Once upon a time…”, she said.’ ‘3\’ ”’That’s okay”’ “He said, ‘Yes!'” ‘”Once upon a time…”, she said.’ ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of these in not a core data type? Dictionary Tuples Class Lists Dictionary Tuples Class Lists ANSWER DOWNLOAD EXAMIANS APP