Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- indent = 0
- IndentIncreasing = True
- while True :
- print(' ' * indent , end = '')
- print('########')
- time.sleep(0.2)
- if IndentIncreasing :
- indent +=1
- if indent == 10 :
- IndentIncreasing == False
- else :
- indent -=1
- if indent == 0 :
- IndentIncreasing == True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement