From the below python code, which all numbers can be printed?

for i in range(2,10,2):
    print(i)
for i in range(6,2,-1):
    print(i)

2 4 6 8 6 5 4 3

2 4 6 8 10 6 5 4 3 2

2 4 6 8 6 5 4 3 2 1 0 -1

Error: No. of arguments for range function should be 2

Verified Answer
Correct Option - a

To get all Infosys Certified Python Associate Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in