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 What is the use of duck typing? Less 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 No restriction on the type values that can be passed to a given method Makes the program code smaller Less 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 No restriction on the type values that can be passed to a given method Makes the program code smaller ANSWER DOWNLOAD EXAMIANS APP
Python The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________ newline ampersand (&) percentage symbol (%) caret (^) newline ampersand (&) percentage symbol (%) caret (^) ANSWER DOWNLOAD EXAMIANS APP
Python What arithmetic operators cannot be used with strings in Python? – * + All of the mentioned – * + All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following blocks will be executed whether an exception is thrown or not? Assert Else finally except Assert Else finally except ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following results in a SyntaxError? “He said, ‘Yes!'” ”’That’s okay”’ ‘”Once upon a time…”, she said.’ ‘3\’ “He said, ‘Yes!'” ”’That’s okay”’ ‘”Once upon a time…”, she said.’ ‘3\’ ANSWER DOWNLOAD EXAMIANS APP