Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created May 16, 2020 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/b14472ffde6360378c428e2960430e8f to your computer and use it in GitHub Desktop.
Save aniruddha27/b14472ffde6360378c428e2960430e8f to your computer and use it in GitHub Desktop.
sample = ['data science', 'business analytics', 'machine learning']
it = sample.__iter__()
itit = it.__iter__()
print(type(itit))
print(itit.__next__())
print(itit.__next__())
print(itit.__next__())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment