Advertisement
JPablos

cool. Simply. Python

May 29th, 2022
877
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. # -*- coding: utf-8 -*-
  4.  
  5. """
  6. Spyder Editor
  7.  
  8. Este programa es 'cool'.
  9. """
  10.  
  11. a = [1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1]
  12. b = [' ' * 2 * (7 - i) + '<00>' * i for i in a]
  13.  
  14. for line in b:
  15.     print(line)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement