DEV Community

casiimir
casiimir

Posted on

4 2

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more