what is Python Set
Definition
One of the data structure in python.
Create set of data
declaration
use { and } to declare
setA={1,3,4,"test"} # {1, 'test', 3, 4}
setB={2,4,"test",5,6} # {2, 'test', 4, 5, 6}
Characteristics
No duplicated value
Do not care about ord...
eunhanlee.hashnode.dev1 min read