I'm trying to make a little animation type thing where it prints R then waits for .5 seconds the o then waits for .5 seconds and so on until the end. Here is the code I wrote:
import time
def rolling():
print('R', end = '')
time.sleep(.5)
print('o', end = '')
time.sleep(.5)
print('l', end = '')
time.sleep(.5)
print('l', end = '')
time.sleep(.5)
print('i', end = '')
time.sleep(.5)
print('n', end = '')
time.sleep(.5)
print('g', end = '')
time.sleep(.5)
When I run that it waits for 3.5 seconds and then prints the whole word. Any suggestions?