Skip to content

Commit

Permalink
Merge pull request #143 from inv3nt3d/patch-1
Browse files Browse the repository at this point in the history
Add print
  • Loading branch information
yasoob committed Feb 1, 2017
2 parents ad43c60 + 3f81cc2 commit 1777f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ iterable. While an ``int`` isn't an iterable, we can use it on string!
my_string = "Yasoob"
my_iter = iter(my_string)
next(my_iter)
print(next(my_iter))
# Output: 'Y'
Now that is much better. I am sure that you loved learning about
Expand Down

0 comments on commit 1777f63

Please sign in to comment.