DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
python compare sets
a = {1,2,3} b = {3,4,5} c = a.intersection(b) print(c) # {3}
Source by betterprogramming.pub #
PREVIOUS
NEXT
Tagged:
#python
#compare
#sets
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit