Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_heart_ascii.py
- R = range
- L = [0,13,10,8,6,5,4,4,4,4,5,*R(6,29,2)]
- W = [0,9,14,18,21,23,25]
- for y in R(23):
- x = L[y]
- w = W[y] if y < 7 else 0
- s = 2 if y < 2 else w or 1
- l = "".join(" #"[i in R(x, x+w+1, s)] for i in R(29))[1:]
- print(l + l[-2::-1])
Advertisement
Add Comment
Please, Sign In to add comment