Python Which of the following is the use of id() function in python? None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id None of the mentioned id returns the identity of the object All of the mentioned Every object doesn’t have a unique id ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when no exception occurs when an exception occurs in to except block when an exception occurs Always when no exception occurs when an exception occurs in to except block when an exception occurs Always ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is an exception only if some condition that has been specified is satisfied when there is no exception always when there is an exception only if some condition that has been specified is satisfied when there is no exception always ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.add(5) list1.addLast(5) list1.append(5) list1.addEnd(5) list1.add(5) list1.addLast(5) list1.append(5) list1.addEnd(5) ANSWER DOWNLOAD EXAMIANS APP
Python The expression a{5} will match _____________ characters with the previous regular expression. 5 or more exactly 4 5 or less exactly 5 5 or more exactly 4 5 or less exactly 5 ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? String int bool str String int bool str ANSWER DOWNLOAD EXAMIANS APP