Python What is the use of duck typing? More 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 Less 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 No 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 ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? True 0 1 False True 0 1 False ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is not a standard exception in Python? ValueError IOError NameError AssignmentError ValueError IOError NameError AssignmentError ANSWER DOWNLOAD EXAMIANS APP
Python What is the maximum possible length of an identifier allowed by Python? 63 characters 31 characters None of the mentioned 79 characters 63 characters 31 characters None of the mentioned 79 characters ANSWER DOWNLOAD EXAMIANS APP
Python Which of these about a dictionary is false? The values of a dictionary can be accessed using keys Dictionaries aren’t ordered The keys of a dictionary can be accessed using values Dictionaries are mutable The values of a dictionary can be accessed using keys Dictionaries aren’t ordered The keys of a dictionary can be accessed using values Dictionaries are mutable ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following functions results in case insensitive matching? re.X re.U re.A re.I re.X re.U re.A re.I ANSWER DOWNLOAD EXAMIANS APP