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 Which module in Python supports regular expressions? pyregex none of the mentioned regex re pyregex none of the mentioned regex re ANSWER DOWNLOAD EXAMIANS APP
Python What data type is the object below in Python? L = [1, 23, 'hello', 1] array tuple dictionary list array tuple dictionary list ANSWER DOWNLOAD EXAMIANS APP
Python Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 2 0 4 1 2 0 4 1 ANSWER DOWNLOAD EXAMIANS APP
Python Correct way to draw a line in canvas tkinter line() create_line(canvas) None of the mentioned canvas.create_line() line() create_line(canvas) None of the mentioned canvas.create_line() ANSWER DOWNLOAD EXAMIANS APP
Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ caret (^) percentage symbol (%) ampersand (&) newline caret (^) percentage symbol (%) ampersand (&) newline ANSWER DOWNLOAD EXAMIANS APP