Так что я точно знаю, что, сказав это:
x = input(print('hello what is ur name uwu:')
выдаст:
hello what is ur name uwu:None
Но вот мой код:
import sys
import time
from colorama import Fore
def crawl(text,ti):
for char in text:
sys.stdout.write(char)
sys.stdout.flush()
time.sleep(ti)
input(crawl(Fore.RED + 'Well, hello there my dear player!',0.1))
и, как и ожидалось ... выдает:
Well, hello there my dear player!None
Я пытался сделать это:
crawl(input(Fore.RED + 'Well, hello there my dear player!'),0.1)
и он производит правильно, но есть одна проблема ... он производит это мгновенно, и моя функция сканирования должна перетаскивать его по буквам. Пожалуйста, помогите.