Which of the following is a Python tuple?
What will be the output of the following Python code?
x=[[1],[2]]
print(" ".join(list(map(str,x))))
Operators with the same precedence are evaluated in which manner?
What is the output of the following code?
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
What is the output of the given code?
List=[1,'Abekus',7,4,'learning']
print(List)
What will be the output of the following Python code?
a=[13,56,17]
a.append([87])
a.extend([45,67])
print(a)
What is the maximum possible length of an identifier in most programming languages?
What will be the output of the following Python code?
def foo(x):
x = ['def', 'abc']
return id(x)
q = ['abc', 'def']
print(id(q) == foo(q))