Python Which of the following blocks will be executed whether an exception is thrown or not? finally except Assert Else finally except Assert Else ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? always 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 ANSWER DOWNLOAD EXAMIANS APP
Python What is the maximum possible length of an identifier allowed by Python? 31 characters None of the mentioned 79 characters 63 characters 31 characters None of the mentioned 79 characters 63 characters ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? none of the mentioned such a function does not exist matches a pattern at any position in the string matches a pattern at the start of the string none of the mentioned such a function does not exist matches a pattern at any position in the string matches a pattern at the start of the string ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? All of the mentioned id returns the identity of the object Every object doesn’t have a unique id None of the mentioned All of the mentioned id returns the identity of the object Every object doesn’t have a unique id None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango ValueError SyntaxError TypeError NameError ValueError SyntaxError TypeError NameError ANSWER DOWNLOAD EXAMIANS APP