Python Why are local variable names beginning with an underscore discouraged in Python Programming? they confuse the interpreter they are used to indicate a private variables of a class they are used to indicate global variables they slow down execution they confuse the interpreter they are used to indicate a private variables of a class they are used to indicate global variables they slow down execution 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
Python How we import a tkinter in python program ? from tkinter import * import tkinter as t import tkinter All of the mentioned from tkinter import * import tkinter as t import tkinter All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python To insert 5 to the third position in list1, we use which Python command? list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.append(3, 5) list1.insert(3, 5) list1.insert(2, 5) list1.add(3, 5) list1.append(3, 5) ANSWER DOWNLOAD EXAMIANS APP
Python What error occurs when you execute the following Python code snippet? apple = mango SyntaxError NameError TypeError ValueError SyntaxError NameError TypeError ValueError ANSWER DOWNLOAD EXAMIANS APP
Python To add a new element to a list we use which Python command? list1.addEnd(5) list1.addLast(5) list1.append(5) list1.add(5) list1.addEnd(5) list1.addLast(5) list1.append(5) list1.add(5) ANSWER DOWNLOAD EXAMIANS APP