11
What is the output of the following code?
for i in range(2):
for j in range(2):
print(i, j, end='; ')DiscussEasy
Loading subject content…
Loading practice questions…
What is the output of the following code?
for i in range(2):
for j in range(2):
print(i, j, end='; ')What is the output of the following code?
for i in range(5):
if i == 3:
break
print(i, end=' ')What is the output of the following code?
match 3:
case 1:
print('one')
case 3:
print('three')
case _:
print('other')What is the output of the following code?
n = 0
while True:
n += 1
if n >= 4:
break
print(n)What is the output of the following code?
for i in range(5):
if i % 2 == 0:
continue
print(i, end=' ')