#Automate the Boring Stuff with Python

import time, sys
indent = 0 # How many spaces to indent
indent_Increasing = True # Whether the indentation is increasing or not

try:
    while True: # The main program loop
        print(' ' * indent, end='')
        print('********')
        time.sleep(0.1) # Pause for 1/10th of a second

        if indent_Increasing:
            indent = indent + 1
            if indent == 20:
                indent_Increasing = False

        else:
            indent = indent - 1
            if indent == 0:
                indent_Increasing = True
except KeyboardInterrupt():
    sys.exit()
[((11, 8, 11, 23), 'time.sleep', 'time.sleep', ({(11, 19, 11, 22): '(0.1)'}, {}), '(0.1)', False, 'import time, sys\n'), ((23, 4, 23, 14), 'sys.exit', 'sys.exit', ({}, {}), '()', False, 'import time, sys\n')]