Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import choice
- print('{:.>40}'.format('FELIZ NATAL'))
- print('{:.^40}'.format('FELIZ NATAL'))
- print('{:.<40}'.format('FELIZ NATAL'))
- for n in range(10):
- a = n+1
- n = str(n)
- n = ['M' * a]
- arvore = choice(n)
- print('{:.^40}'.format(arvore))
- for z in range(4):
- tronco = '#' * 2
- print('{:.^40}'.format(tronco))
- print('{:^>40}'.format(''))
- print('{:^>40}'.format(''))
- print('{:^>40}'.format(''))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement