Output of:
len(sys.argv)
What is the output of this expression, 3*1**3?
Find the output of the following code:
l=[2344,25,214,24,24,4]
print(l[::-1])
What will be the output of the following code:
print(type(type(int)))
What will be the output of the following Python code?
a = ('Check') * 3
print(a)
To which of the following the “in” operator can be used to check if an item is in it?
How many times is the word "got" printed in the following code?
for i in range(0, 10):
if i % 3 != 0:
print("got")
l1=[10, 20, 30]
l2=l1
id(l1)==id(l2)
l2=l1.copy()
id(l1)==id(l2)
What will be the output of the following Python code?
a = [(2, 4), (1, 2), (3, 9)]
a.sort()
print(a)