Код: Выделить всё
import time
import random
def string_teletyper(string):
'''Prints out each character in a string with time delay'''
for chr in string:
print(chr, end='', flush=True)
time.sleep(random.randint(1,2)/20)
Подробнее здесь: https://stackoverflow.com/questions/565 ... e-terminal
Мобильная версия