Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 2 1 4 0 2 1 4 0 ANSWER DOWNLOAD EXAMIANS APP
Python What is the output of print 0.1 + 0.2 == 0.3 in python? False Machine dependent True Error False Machine dependent True Error ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango TypeError ValueError NameError SyntaxError TypeError ValueError NameError SyntaxError ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? more than zero more than one zero one more than zero more than one zero one ANSWER DOWNLOAD EXAMIANS APP
Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ ampersand (&) newline percentage symbol (%) caret (^) ampersand (&) newline percentage symbol (%) caret (^) 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 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 Less restriction on the type values that can be passed to a given method Makes the program code smaller ANSWER DOWNLOAD EXAMIANS APP