Python What is the use of duck typing? Makes the program code smaller 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 No restriction on the type values that can be passed to a given method Makes the program code smaller 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 No restriction on the type values that can be passed to a given method ANSWER DOWNLOAD EXAMIANS APP
Python An exception is ____________ a module an object a standard module a special function a module an object a standard module a special function 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 no exception occurs Always when an exception occurs when an exception occurs in to except block when no exception occurs Always when an exception occurs 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 All keywords in Python are in _________ Capitalized None of the mentioned lower case UPPER CASE Capitalized None of the mentioned lower case UPPER CASE ANSWER DOWNLOAD EXAMIANS APP
Python Which is the correct expression for power(xy ) in Python? None of the mentioned x^y x^^y x**y None of the mentioned x^y x^^y x**y ANSWER DOWNLOAD EXAMIANS APP