Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 1 0 2 4 1 0 2 4 ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango SyntaxError TypeError NameError ValueError SyntaxError TypeError NameError ValueError ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match 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 blocks will be executed whether an exception is thrown or not? finally Else Assert except finally Else Assert except ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? more than one more than zero zero one more than one more than zero zero one ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following creates a pattern object? re.assemble(str) re.compile(str) re.regex(str) re.create(str) re.assemble(str) re.compile(str) re.regex(str) re.create(str) ANSWER DOWNLOAD EXAMIANS APP