~100?
What is the output of the following code?
print(False < True)
Which of the following functions will return the symmetric difference between two sets, x and y?
Predict the output of the following code:
print("hi" " how" " are" " you?")
What will be the output of the following Python code snippet?
a = [0, 1, 2, 3]
for a[-1] in a:
print(a[-1])
What is the purpose of the exec() method of the QApplication class?
What will be the output of the following Python code?
b=[2,3,4,5]
a=list(filter(lambda x:x%2,b))
print(a)
Suppose B is a subclass of A, to invoke the __init__ method in A from B, what is the line of code you should write?
Which of the following statements about strings in Python is incorrect?