Python Which of the following blocks will be executed whether an exception is thrown or not? Else finally except Assert Else finally except Assert ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 2 1 4 0 2 1 4 0 ANSWER DOWNLOAD EXAMIANS APP
Python What arithmetic operators cannot be used with strings in Python? + – All of the mentioned * + – All of the mentioned * ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? AssignmentError NameError ValueError IOError AssignmentError NameError ValueError IOError ANSWER DOWNLOAD EXAMIANS APP
Python Correct way to draw a line in canvas tkinter create_line(canvas) None of the mentioned canvas.create_line() line() create_line(canvas) None of the mentioned canvas.create_line() line() ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? one more than zero zero more than one one more than zero zero more than one ANSWER DOWNLOAD EXAMIANS APP