Which of the following cannot be a variable?
Which operator is called the Walrus operator in Python 3.8?
Find the output of the following code:
x = 23
x = x == x
print(x)
What is the output of the given code?
cube=lambda x:x*x*x
print(cube(12))
What is the output of the following code?
for i in [1, 0]:
print(i+1)
What is the output of the following Python code?
print("Hello", "world", "welcome", "to", "Abekus", sep="-")
What will be the output of the following Python function, assuming that the random module has already been imported?
random.uniform(3,4)
text = 'Welcome to the world of Python'
words = text.split()
length = list(map(lambda word: len(word), words))
print (length)
What does single-level inheritance mean?
What will be the output of the following code?
a = 10
b = 2
try:
c = a // b
except ZeroDivisionError as e:
print("Error =", e)
except TypeError as e:
print("Error =", e)
finally:
print("Welcome to ABEKUS")
print("Result =", c)