Python Which of the following blocks will be executed whether an exception is thrown or not? except Assert Else finally except Assert Else finally ANSWER DOWNLOAD EXAMIANS APP
Python In Python, which of the following cannot be a variable? in It __init__ on in It __init__ on ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? 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 when an exception occurs when no exception occurs ANSWER DOWNLOAD EXAMIANS APP
Python Is Python case sensitive when dealing with identifiers? machine dependent no None of the mentioned yes machine dependent no None of the mentioned yes ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.append(3, 5) list1.add(3, 5) list1.insert(2, 5) list1.insert(3, 5) list1.append(3, 5) list1.add(3, 5) list1.insert(2, 5) list1.insert(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? 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 when there is no exception ANSWER DOWNLOAD EXAMIANS APP