Python Valentine Code
// description of your code here
print "\n".join([" ".join(["valentine"[0:n] for n in t]).center(9) for t in [(3,3),(9,)] + map(lambda n: (n,), range(9,0,-2))])
Posted on 2009-02-18 05:12 | By: ferdhie | Tags: python | 0 Comments
// description of your code here
print "\n".join([" ".join(["valentine"[0:n] for n in t]).center(9) for t in [(3,3),(9,)] + map(lambda n: (n,), range(9,0,-2))])
Embed Snippet:
0 Comments