DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
same elements of two sets in python
x = {2, 3, 5, 6} y = {1, 2, 3, 4} z = x.intersection(y)
PREVIOUS
NEXT
Tagged:
#elements
#sets
#python
ADD COMMENT
Topic
COMMENT
Name
3+9 =
Submit