Skip to content

Instantly share code, notes, and snippets.

@Celia-code
Created April 13, 2020 13:07
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/b42b6e9ea93a0f518231ef2effcc38a4 to your computer and use it in GitHub Desktop.
Save Celia-code/b42b6e9ea93a0f518231ef2effcc38a4 to your computer and use it in GitHub Desktop.
嵌套
# 输出 apple 的每個字母並跳過p
for i in "apple":
if i == "p":
pass
else:
print(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment