Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created June 15, 2020 05:22
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 IndhumathyChelliah/89f12a6b737c9634c7f16fe32ac4e75f to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/89f12a6b737c9634c7f16fe32ac4e75f to your computer and use it in GitHub Desktop.
s1={1,2,3,4,5}
print (1 in s1)#Output: True
print (1 not in s1)#Output:False
print (6 in s1)#Output:False
print (6 not in s1)#Output:True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment