Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. # Superconjunto
  2. {1, 2}.issuperset({1, 2, 3}) # False
  3. {1, 2} >= {1, 2, 3} # False
  4.  
  5. {1, 2, 3, 4, 5}.issuperset({1, 2, 3}) # True
  6. {1, 2, 3, 4, 5} >= {1, 2, 3} # True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement