Python What is the output of print 0.1 + 0.2 == 0.3 in python? True Error Machine dependent False True Error Machine dependent False ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? zero more than zero one more than one zero more than zero one more than one ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? finally Else Assert except finally Else Assert except ANSWER DOWNLOAD EXAMIANS APP
Python When will the else part of try-except-else be executed? Always when an exception occurs 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 ANSWER DOWNLOAD EXAMIANS APP
Python What is the use of duck typing? 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 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 ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following creates a pattern object? re.compile(str) re.assemble(str) re.create(str) re.regex(str) re.compile(str) re.assemble(str) re.create(str) re.regex(str) ANSWER DOWNLOAD EXAMIANS APP