+ 15
Print no from 0 to 5
For i in range(5): Print(i __)
7 ответов
+ 10
Thanks,I want only this answer.
+ 6
for i in range(0,6):
print(i+1)
+ 3
To print numbers from 1 to 5
Use this:
for i in range (1,6):
print(i)
If you want to print it in the same line then:
for i in range (1,6):
print(i,end=" " )
+ 2
https://code.sololearn.com/cuWI2cshqwUB/?ref=app
using while loop
+ 2
Indentation error due to not following spaces required.