So this is some code that is supposed to print text, similar to how Pokemon does. Purely for fun.
The problem is that print(x, end=\"\") does not work when
This is happening because python uses a buffer to write to stdout. in order to get the desired effect, you must put sys.stdout.flush() at the end of your code...
import time, sys
lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
for x in lorem:
print(x, end="")
time.sleep(0.03)
sys.stdout.flush()
This will print out each character individually at the rate of 1 character per 0.03 seconds