x = 1 while x < 10: y = list(range(x)) for z in y: z += 1 print(‘%d * %d = %d‘ % (x,z,x*z),end = ‘ ‘) x += 1 print(‘\n‘)
本文出自 “Kaerser” 博客,请务必保留此出处http://3699524.blog.51cto.com/3689524/1575795
Python编写九九乘法表
原文:http://3699524.blog.51cto.com/3689524/1575795