Which of the following operators have the highest precedence?
Which of the following is a view function?
What is the output of the Python expression >>>callable([1,2,3])
?
Select the incorrect Python error type.
What is the output of the given code?
for i in range(1,4):
print(i)
What is the output of the following Python code?
spam = "eggs"
print(spam * 3)
Find the output of the following code
x="Abekus"
y=12.43
print(isinstance(y,float))
print(isinstance(x,str))
Find the output of the following code.
l=[[1,2],[3,4],[4,5],[6,7]]
for i in enumerate(l):
print(i, end=" ")
What is the output of the following Python code?
class A:
def __init__(self, x=1):
self.x = x
class der(A):
def __init__(self, y=2):
super().__init__()
self.y = y
def main():
obj = der()
print(obj.x, obj.y)