Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Press Ctrl-C to stop the program.
- import time
- indent = 0 # How many spaces to indent.
- while True: # The main program loop.
- for i in range(20):
- indent = indent + 1
- print(' ' * indent + '********')
- time.sleep(0.05) # Pause for 50 milliseconds.
- for i in range(20):
- indent = indent - 1
- print(' ' * indent + '********')
- time.sleep(0.05) # Pause for 50 milliseconds.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement