Python What type of data is: a=[(1,1),(2,4),(3,9)]? Tuples of lists List of tuples Invalid type Array of tuples Tuples of lists List of tuples Invalid type Array of tuples ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.search do? matches a pattern at any position in the string such a function does not exist none of the mentioned matches a pattern at the start of the string matches a pattern at any position in the string such a function does not exist none of the mentioned matches a pattern at the start of the string ANSWER DOWNLOAD EXAMIANS APP
Python Say s=”hello” what will be the return value of type(s) in Python? str bool int String str bool int String ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? Decomposing complex problems into simpler pieces All of the mentioned Reducing duplication of code Improving clarity of the code Decomposing complex problems into simpler pieces All of the mentioned Reducing duplication of code Improving clarity of the code ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when no exception occurs Always 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 ANSWER DOWNLOAD EXAMIANS APP
Python When is the finally block executed? 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 always ANSWER DOWNLOAD EXAMIANS APP