Skip to content

Instantly share code, notes, and snippets.

@pratik-choudhari
Last active October 10, 2021 08:54
Show Gist options
  • Select an option

  • Save pratik-choudhari/ab8550b2bccff3d34e825524ebadd7e8 to your computer and use it in GitHub Desktop.

Select an option

Save pratik-choudhari/ab8550b2bccff3d34e825524ebadd7e8 to your computer and use it in GitHub Desktop.
number: str = "1"
number = 2
number += 1
print(number) # prints 3
sequence: list = ["foo", "bar"]
sequence = set()
print(type(sequence)) # prints <class 'set'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment