Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created April 13, 2020 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Celia-code/87bcded6c489be6a38f069858f075527 to your computer and use it in GitHub Desktop.
Save Celia-code/87bcded6c489be6a38f069858f075527 to your computer and use it in GitHub Desktop.
嵌套
# 打印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