import time, random, sys
def print(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(1./20)
print("\nHello,\n")
print("You can choose out of 5 tasks : ")
print("task 1 | add 3 numbers")
print("task 2 | multiple numbers")
print("task 3 | enter a number between 10 and 20")
print("task 4 | count until 200")
print("task 5 | guess the number")
x = int(input(print("\nWhich tasks do you want to preform? | ")))
when i use this code, it wil type "none" after its done typing x. can anyone explain to me why that happens? and how i can fix it. or how i can slow type a input. (its part of a bigger code, but this are the first couple lines of code)