Python What type of data is: a=[(1,1),(2,4),(3,9)]? Invalid type List of tuples Tuples of lists Array of tuples Invalid type List of tuples Tuples of lists Array of tuples ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match do? matches a pattern at the start of the string such a function does not exist matches a pattern at any position in the string none of the mentioned matches a pattern at the start of the string such a function does not exist matches a pattern at any position in the string none of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python What is the output of print 0.1 + 0.2 == 0.3 in python? Machine dependent False Error True Machine dependent False Error True ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 4 0 1 2 4 0 1 2 ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? Less restriction on the type values that can be passed to a given method Makes the program code smaller No restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method Less restriction on the type values that can be passed to a given method Makes the program code smaller No restriction on the type values that can be passed to a given method More restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? when an exception occurs in to except block Always when an exception occurs when no exception occurs when an exception occurs in to except block Always when an exception occurs when no exception occurs ANSWER DOWNLOAD EXAMIANS APP