Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object 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 What is the maximum possible length of an identifier allowed by Python? 79 characters 31 characters None of the mentioned 63 characters 79 characters 31 characters None of the mentioned 63 characters ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? 0 True 1 False 0 True 1 False ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? such a function does not exist matches a pattern at any position in the string none of the mentioned matches a pattern at the start of the string such a function does not exist matches a pattern at any position in the string none of the mentioned matches a pattern at the start of the string ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? one zero more than zero more than one one zero more than zero more than one ANSWER DOWNLOAD EXAMIANS APP