Created
June 5, 2015 14:58
-
-
Save gabicavalcante/fb276808717374122744 to your computer and use it in GitHub Desktop.
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
for elemento in [1, 2, 3]: | |
print elemento | |
for elemento in (1, 2, 3): | |
print elemento | |
for chave in {'one':1, 'two':2}: | |
print chave | |
for car in "123": | |
print car | |
for linha in open("myfile.txt"): | |
print linha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment