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
相關文章
相關標籤/搜索