Log in
Sign up for FREE
arrow_back
Library

loops - day1 -22/05/25

star
star
star
star
star
Last updated 9 months ago
4 questions
1
1
1
1
Question 1
1.

What will the following code output? for i in range(3): print(i)

Question 2
2.

How many times will 'Python' print? for i in range(5): print('Python')

Question 3
3.

What output results from this loop? for i in range(2,5): print(i)

Question 4
4.

What does this code print? for i in range(1,4): print(i*2)