Write a for loop to print the numbers from 20 to 30, inclusive (this means it should include both the 20 and 30). The output should all be written out on the same line. Expected Output 20 21 22 23 24 25 26 27 28 29 30

Respuesta :

In python:

for i in range(20, 31):

   print(i, end=" ")

113971

Answer:

for b in range(20,31):

   print(b, end=" ")

Explanation:

Hint: Variable does not matter. Meaning the b that I put in does not matter. You can put in any other letter you want. Hope it helps!