Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Last active April 9, 2020 10:19
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/243261c78597b78c7883590489af46d8 to your computer and use it in GitHub Desktop.
Save Celia-code/243261c78597b78c7883590489af46d8 to your computer and use it in GitHub Desktop.
break&continue
for i in range(11):
if i == 7:
continue
print(i) # 打印出1~6, 8~10, 中間省略7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment