Python Which of the following creates a pattern object? re.regex(str) re.assemble(str) re.create(str) re.compile(str) re.regex(str) re.assemble(str) re.create(str) re.compile(str) ANSWER DOWNLOAD EXAMIANS APP
Python Which of these about a dictionary is false? Dictionaries are mutable Dictionaries aren’t ordered The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values Dictionaries are mutable Dictionaries aren’t ordered The values of a dictionary can be accessed using keys The keys of a dictionary can be accessed using values ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? when there is an exception when there is no exception only if some condition that has been specified is satisfied always when there is an exception when there is no exception only if some condition that has been specified is satisfied always ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? except Else finally Assert except Else finally Assert ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? ValueError NameError AssignmentError IOError ValueError NameError AssignmentError IOError ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? Improving clarity of the code All of the mentioned Decomposing complex problems into simpler pieces Reducing duplication of code Improving clarity of the code All of the mentioned Decomposing complex problems into simpler pieces Reducing duplication of code ANSWER DOWNLOAD EXAMIANS APP