Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement