新浦京娱乐场官网Here are two ways to write a table of

2019-06-19 20:04栏目:技术创新

for x in range(1, 11):
     print repr(x).rjust(2), repr(x*x).rjust(3),
     # Note trailing comma on previous line
     print repr(x*x*x).rjust(4)

for x in range(1,11):
    print '- = M' % (x, x*x, x*x*x)

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:新浦京娱乐场官网Here are two ways to write a table of