First, look at this:
import time
wait = time.sleep
def put(char):
print(char, end='')
def text(*pieces):
for p in pieces:
for c in p:
put(p)
wait(0.25)
I wanted to make a function that prints characters one by one with a delay of 250ms. But the problem is, it doesn't actually print characters one by one, instead, nothing happens until the "for" loop ends, then the given pieces of text is printed directly at once. Can someone tell me another way to do that, as in Undertale, typing/printing/putting characters one by one with a delay? Thanks.