Back to task

138 symbols python2
Fri Sep 16 05:16:40 2016 Sait2000
a=[]
for i in range(input()):b=[1]+[sum(b[x:x+2])for x in range(i)];a+=b,
for c in a:print" ".join("%%%ss"%len(`p`)%q for p,q in zip(b,c))


Leave a comment

Parsed as Markdown

Login to leave a comment