Day-1 Python全栈学习

乘法表:

i = 1
while i <= 9:
print(i,end=": ")
j = 1
while j <= i:
print("%d*%d=%d" %(i,j,i*j),end=" ")
j += 1
i += 1
print()

运行结果

原文地址:https://www.cnblogs.com/Jack-Ma/p/Day-1.html