Which of the following is invalid variable in Python? __str__ = 1 _a = 1 __a = 1 None of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
Methods provided by Python for receiving and sending TCP messages. s.recv(), s.send() None of the mentioned s.recvfrom(),s.sendto() Both (A) and (B) TRUE ANSWER : ? YOUR ANSWER : ?
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python? 0 2 4 1 TRUE ANSWER : ? YOUR ANSWER : ?
Python MRO concept is Method Resolution Order Method Recursion Order None of the mentioned Method Resetting Order TRUE ANSWER : ? YOUR ANSWER : ?
What is the output of print 0.1 + 0.2 == 0.3 in python? Machine dependent True False Error TRUE ANSWER : ? YOUR ANSWER : ?
What does the function re.search do? such a function does not exist matches a pattern at any position in the string matches a pattern at the start of the string none of the mentioned TRUE ANSWER : ? YOUR ANSWER : ?
Why are local variable names beginning with an underscore discouraged in Python Programming? they are used to indicate a private variables of a class they slow down execution they confuse the interpreter they are used to indicate global variables TRUE ANSWER : ? YOUR ANSWER : ?
Which is the correct expression for power(xy ) in Python? x^y x^^y None of the mentioned x**y TRUE ANSWER : ? YOUR ANSWER : ?
In Python GUI programming, the method that leaves an impression of a turtle shape at the current location stamp() All of the mentioned position() shape() TRUE ANSWER : ? YOUR ANSWER : ?