Python Which of the following statements is true? A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden A non-private method in a superclass can be overridden A subclass method can be overridden by the superclass Overriding isn’t possible in Python A private method in a superclass can be overridden 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 no exception occurs when an exception occurs when an exception occurs in to except block Always when no exception occurs when an exception occurs ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.insert(2, 5) list1.append(3, 5) list1.insert(3, 5) list1.add(3, 5) list1.insert(2, 5) list1.append(3, 5) list1.insert(3, 5) list1.add(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 0 1 4 2 0 1 4 2 ANSWER DOWNLOAD EXAMIANS APP
Python What is the output of print 0.1 + 0.2 == 0.3 in python? Machine dependent False Error True Machine dependent False Error True ANSWER DOWNLOAD EXAMIANS APP
Python What data type is the object below in Python? L = [1, 23, 'hello', 1] array dictionary tuple list array dictionary tuple list ANSWER DOWNLOAD EXAMIANS APP