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()

运行结果

Day-1 Python全栈学习

 

转载于:https://www.cnblogs.com/Jack-Ma/p/Day-1.html

相关文章:

  • 2022-02-07
  • 2021-12-25
  • 2021-05-11
  • 2021-11-13
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-26
  • 2021-08-04
  • 2021-12-02
  • 2022-01-08
  • 2022-01-07
  • 2022-12-23
  • 2021-09-09
相关资源
相似解决方案