Skip to content

Instantly share code, notes, and snippets.

@nibalizer
Created February 15, 2014 08:02
Show Gist options
  • Select an option

  • Save nibalizer/9015921 to your computer and use it in GitHub Desktop.

Select an option

Save nibalizer/9015921 to your computer and use it in GitHub Desktop.
v.py
#!/usr/bin/env python
from string import center
print
spacer = 6
for i in range(5, 11, 2):
print center('#' * i + " " * spacer + '#' * i,80)
spacer -= 2
for i in range(10, 0, -1):
print center("#" * i * 2, 80)
print
print
print center("Happy Valentines Day", 80)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment