Python Why are local variable names beginning with an underscore discouraged in Python Programming? they confuse the interpreter they are used to indicate global variables they slow down execution they are used to indicate a private variables of a class they confuse the interpreter they are used to indicate global variables they slow down execution they are used to indicate a private variables of a class ANSWER DOWNLOAD EXAMIANS APP
Python Which of the following is the use of id() function in python? Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object Every object doesn’t have a unique id All of the mentioned None of the mentioned id returns the identity of the object ANSWER DOWNLOAD EXAMIANS APP
Python What type of data is: a=[(1,1),(2,4),(3,9)]? Array of tuples Invalid type Tuples of lists List of tuples Array of tuples Invalid type Tuples of lists List of tuples ANSWER DOWNLOAD EXAMIANS APP
Python What is the result of cmp(3, 1) in python? True 1 0 False True 1 0 False ANSWER DOWNLOAD EXAMIANS APP
Python What does the function re.match do? matches a pattern at any position in the string such a function does not exist none of the mentioned matches a pattern at the start of the string matches a pattern at any position in the string such a function does not exist none of the mentioned matches a pattern at the start of the string ANSWER DOWNLOAD EXAMIANS APP
Python How many except statements can a try-except block have? more than zero one more than one zero more than zero one more than one zero ANSWER DOWNLOAD EXAMIANS APP