Back to task

127 symbols python2
Fri Sep 16 06:19:01 2016 Sait2000
a=b=[]
for z in[zip]*input():b=[1]+map(sum,z(b,b[1:]+[0]));a+=b,
for c in a:print" ".join("%%%ss"%len(`p`)%q for p,q in z(b,c))


Leave a comment

Parsed as Markdown

Login to leave a comment