Back to task

170 symbols python2
Wed Oct 12 07:53:02 2016 Sait2000
import sys
z=map(str.split,sys.stdin)
d,l=zip(*z)
print'\    '+'   '.join(l)
for p,i in z:print'  '.join([i]+['%%-.42.ff'[p!=q::2]%(float(q)/float(p))for q in d]).strip()


Leave a comment

Parsed as Markdown

Login to leave a comment