Back to task

140 symbols python2
Fri Sep 16 05:11:10 2016 Sait2000
a=b=[]
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