Skip to content

Instantly share code, notes, and snippets.

@BexTuychiev
Created July 9, 2020 07:32
Show Gist options
  • Save BexTuychiev/43a636ef547a4fc8dacf87b2b4ad6a8f to your computer and use it in GitHub Desktop.
Save BexTuychiev/43a636ef547a4fc8dacf87b2b4ad6a8f to your computer and use it in GitHub Desktop.
generator = (number for number in range(10))
if type(generator) == "<class 'generator'>":
print('Are you crazy?')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment