Python Forum

Full Version: Merry Christmas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wish all programmers and their families Merry Christmas.

[attachment=328]
In [1]: for i in range(2,20,2):
   ...:     print("{:^20}".format("*" * i))
   ...: for _ in range(2):
   ...:     print("{:^20}".format("**"))
   ...:     
         **         
        ****        
       ******       
      ********      
     **********     
    ************    
   **************   
  ****************  
 ******************
         **         
         **      
No lights?
Merry Christmas everyone! Have a wonderful holiday season.
I think sparkz_alot is right. Maybe we can modify the code, that it is blinking in terminal :-)