Last active
November 6, 2017 13:57
-
-
Save j-nordell/f369289060fc477b0de00b19571621ca to your computer and use it in GitHub Desktop.
Introduction of 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
cookie_jar = ["chocolate chip", "oatmeal raisin", "ginger", | |
"peanut butter", "sugar", "Oreo"] # I have these cookies in my cooke jar | |
for cookie in cookie_jar: # Take every cookie in the jar one by one, | |
print(f"The {cookie} cookie was delicious!") # and take a bite! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment