Answer the question
In order to leave comments, you need to log in
How to make numbers appear on a new line, and not in one?
import random
import time
while True:
time.sleep(0.10)
with open("find.txt", "a") as file:
for i in range(8):
a = random.randint(1, 9)
file.write(str(a))
file.close()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question