for a in range(1,10): for b in range(1,10): if b <= a: print("%sx%s=%s" %(a,b,a*b),end="\t") print()
python太简单了!
刚学习python 写的乘法口诀
原文:http://11432799.blog.51cto.com/11422799/1867812