Back to task

133 symbols python2
Fri Sep 16 05:26:31 2016 Sait2000
a=b=[]
for i in range(input()):b=[1]+map(sum,zip(b,b[1:]+[0]));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