Created
November 22, 2017 16:31
-
-
Save erikaris/229dccde63e507a27e643e05196e6b23 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
mystr = "erika" | |
for s in mystr: | |
print(s, end=" ") | |
it = iter(mystr) | |
print("\nThis is how iterator looks like:", list(it)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment