176k views
4 votes
Write a loop to print 10 to 90 inclusive (this means it should include both the 10 and 90), 10 per line.​

User Escapedcat
by
6.2k points

1 Answer

2 votes

Answer:

c = 0

for x in range(10,91):

print(x, end=" ")

c = c + 1

if c>=10:

print(" ")

c=0

Step-by-step explanation:

User TheVinchi
by
7.1k points