xxxxxxxxxx
from typing import Callable
def myFunc(a: int, b: str) -> bool:
return False
myFuncAsVaraible: Callable[[int, str], bool] = myFunc
# Callable[[parameters], return]
xxxxxxxxxx
from time import sleep
import sys
string = "The Battle Cats For Life" # Whatever string you want
for letter in string:
sleep(0.01) # In seconds
sys.stdout.write(letter)
sys.stdout.flush()