Ben Ellis

@ellisbenm (0)
Rise Kronos Rise
posted to Share by VulcanWM

Such a cool program! Can you break down how the slowprint function works?

from time import sleep
def slowprint(text):
  for x in text:
    print(x, end='')
    sys.stdout.flush()
    sleep(0.07)

How is your function implementing the sleep period exactly? sorry, total beginner.