0

I am working on a word game in mu and I'm using the slow print code:

import sys, time
def sprint(str):
   for c in str + '\n':
     sys.stdout.write(c)
     sys.stdout.flush()
     time.sleep(3./90)

Whenever I try to use this with an input e.g., example = input (sprint (" example")). When I run it, it comes up with example none

Kota Mori
  • 6,510
  • 1
  • 21
  • 25

0 Answers0