参考:
http://www.cnblogs.com/suiy-160428/p/5594389.html
#!/usr/bin/env pythonfor i in range(1,10): for j in range(1, i+1): print(f"{i} * {j} ={i*j}",end=" ") print("")