enter image description hereI'm trying to do something to learn numbers in English. but I don't want the results to be repeated. Example: 44, 44, 55, 55 is not rewritten, each number is written only once and the program is reset at the last number, I am working in Python. Note: I am using Sublime Text
import random
import time
while True:
number = random.randint(1,10)
print(number)
time.sleep(5)