Python Which of the following creates a pattern object? re.assemble(str) re.create(str) re.compile(str) re.regex(str) re.assemble(str) re.create(str) re.compile(str) re.regex(str) ANSWER DOWNLOAD EXAMIANS APP
Python What is the maximum possible length of an identifier allowed by Python? 79 characters 63 characters None of the mentioned 31 characters 79 characters 63 characters None of the mentioned 31 characters ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? “He said, ‘Yes!'” ‘3\’ ‘”Once upon a time…”, she said.’ ”’That’s okay”’ “He said, ‘Yes!'” ‘3\’ ‘”Once upon a time…”, she said.’ ”’That’s okay”’ 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 When will the else part of try-except-else be executed? when an exception occurs in to except block when an exception occurs when no exception occurs Always when an exception occurs in to except block when an exception occurs when no exception occurs Always ANSWER DOWNLOAD EXAMIANS APP
Python Which is the correct expression for power(xy ) in Python? x^y x**y None of the mentioned x^^y x^y x**y None of the mentioned x^^y ANSWER DOWNLOAD EXAMIANS APP