Skip to content

Instantly share code, notes, and snippets.

@codetombomb
Created September 24, 2020 17:34
Show Gist options
  • Save codetombomb/3e84d6fec8e5b3bf37a3686627d689ba to your computer and use it in GitHub Desktop.
Save codetombomb/3e84d6fec8e5b3bf37a3686627d689ba to your computer and use it in GitHub Desktop.
For loop
def for_loop():
the_list = [1, 2, 3, 4, 5]
for each_individual_value in the_list:
print(each_individual_value)
if __name__ == "__main__":
for_loop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment