82.6k views
2 votes
Write a for loop that prints all the even integers from 80 through 20 inclusive, separated by exactly one space. A) for i in range(80, 19, -2): B) for i in range(20, 81, 2): C) for i in range(20, 79, 2): D) for i in range(80, 21, -1):

User Juri Noga
by
6.7k points

1 Answer

0 votes

Answer:

The correct for loop to print all the even integers from 80 through 20 inclusive, separated by exactly one space is option C) for i in range(20, 79, 2).

User Jayen
by
6.8k points