Question: In python: Write a for loop that prints the integers 50 through 1, each on a separate line. Use no variables other than count. I

In python: Write a for loop that prints the integers 50 through 1, each on a separate line. Use no variables other than count.

I came up with :

for count in range(50,2):

print(count)

this works in IDLE but CodeLab is not accepting it. Thanks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!