Created
September 24, 2020 17:34
-
-
Save codetombomb/3e84d6fec8e5b3bf37a3686627d689ba to your computer and use it in GitHub Desktop.
For loop
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
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