Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id id returns the identity of the object All of the mentioned None of the mentioned Every object doesn’t have a unique id id returns the identity of the object All of the mentioned None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Python Why are local variable names beginning with an underscore discouraged in Python Programming? they are used to indicate global variables they confuse the interpreter they slow down execution they are used to indicate a private variables of a class they are used to indicate global variables they confuse the interpreter they slow down execution they are used to indicate a private variables of a class 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 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 What is the use of duck typing? No 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 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 Less 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 ANSWER DOWNLOAD EXAMIANS APP
Python Which are the advantages of functions in python? All of the mentioned Improving clarity of the code Reducing duplication of code Decomposing complex problems into simpler pieces All of the mentioned Improving clarity of the code Reducing duplication of code Decomposing complex problems into simpler pieces ANSWER DOWNLOAD EXAMIANS APP