摘要: num1 = 1 while num1 <= 9: num2 = 1 while num2 <= 9: if num2 <= num1: print(num2, "*", num1, "=", num2 * num1, end=" ") # print打印时默认end="\n",表示默认换行,设置e 阅读全文
posted @ 2024-06-12 10:23 GDquicksand 阅读(19) 评论(0) 推荐(0) 编辑