Created
April 13, 2020 12:51
-
-
Save Celia-code/87bcded6c489be6a38f069858f075527 to your computer and use it in GitHub Desktop.
嵌套
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 打印99乘法表 | |
for i in range(1, 10): | |
for j in range(1, 10): | |
p = i * j | |
print("%d*%d = %-2d " % (i, j, p), end="") | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment