DEV Community

casiimir
casiimir

Posted on

Merry Christmas, by Python

Developers from the four corners of the World, Merry Christmas!

x, y = 10, 0
while (x > 1):
  print(' ' * x + 'O' + ' ' * y + 'O')
  x-=1
  y+=2
print (' O' + '*' * 18 + 'O')
for y in range (2):
  print (' ' * 9 + '#' * 3 + ' ' * 9)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)