What is the output of following?
for i in range(5): if i == 3: continue print(i, end=" ")
0 1 2 3 4
0 1 2 4
1 2 3 4
0 1 2
10
Error
True
11
==
is
has
in
3.333
3
4
3.0
while
do-while
for
if
What is the output?
x = 5 y = 10 print(x > 3 or y < 5 and x == 5)
False
None
What is the output of following code?
x = 1 y = 2 z = 3 print(x < y < z == True)
1
pass
continue
break
assert
Terminates loop
Skips iteration
Prints message
Raises error if condition is False
Even numbers
Odd numbers from 1 to 9
Odd numbers from 1 to 10