In order to store values in terms of key and value we use what core data type.
What will be the output of the following Python code?
d = {0, 1, 2}
for x in d:
print(d.add(x))
What will be the value of x in the following Python expression?
What will be the output of the following Python code?
What arithmetic operators cannot be used with strings?
What will be the output of the following Python code?
True = False
while True:
print(True)
break
What data type is the object below?
Which one of the following has the same precedence level?
What will be the output of the following Python code?
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
Is Python case sensitive when dealing with identifiers?
What is the answer to this expression, 22 % 3 is?
Which one of the following has the highest precedence in the expression?
What will be the output of the following Python code?
for i in range(0):
print(i)
Which of the following is the truncation division operator?
What is the output of this expression, 3*1**3?
What error occurs when you execute the following Python code snippet?
What will be the output of the following Python code?
What will be the output of the following Python code?
>>> str1 = 'hello'
>>> str2 = ','
>>> str3 = 'world'
>>> str1[-1:]
What will be the output of the following Python code?
x = 'abcd'
for i in x:
print(i)
x.upper()
Which of the following statement prints hello\example\test.txt?