>>>print('ab12'.isalnum())
Which Qt widget allows the user to enter multi-line text?
>>>a=[10,20,30,40,50]
>>>a.pop(2)
>>>print(a)
What will be the output of the following Python code snippet?
print('my_string'.isidentifier())
The code is:
a = input("Enter the string")[0]
print(a)
If the entered string is "Abekus", what is the output?
What will be the output of the following Python code?
>>> a=(1,2,(4,5))
>>> b=(1,2,(3,4))
>>> a<b
Which of the following statements about the Flask web framework is correct?
Find the output of the following Python code:
class A:
def fun(self, a, b):
self.a = a
self.b = b
if a > b:
print(self.a)
else:
print(self.b)
a = A()
x = a.fun(9, 5)
print(x)
What will be the output of the following Python code?
def increment_items(L, increment):
i = 0
while i < len(L):
L[i] = L[i] + increment
i = i + 1
values = [1, 2, 3]
print(increment_items(values, 2))
print(values)