+ 1
How to make infine number print?(Python)
1 2 3 4 5 ....... How to make this?
2 odpowiedzi
+ 3
Hi, Yoonsu Kim !
With a generator you can generate and print your next number at any time in the code:
https://code.sololearn.com/cGpeiZIhZJ59/?ref=app
+ 1
Like this?
num = 0
while num > -1:
num+=1
print(num)