Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created May 16, 2020 20:27
Show Gist options
  • Select an option

  • Save aniruddha27/2a32318d510aff4a1dcd3316b4afb73f to your computer and use it in GitHub Desktop.

Select an option

Save aniruddha27/2a32318d510aff4a1dcd3316b4afb73f to your computer and use it in GitHub Desktop.
squared_gen = (x*x for x in range(2,5))
print(squared_gen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment