13,420
edits
Changes
→PART 2 - Sets
::*Sets '''cannot contain duplicate values'''
:These characteristics make sets very useful for performing tasks such as comparisons: '''finding similarities or differences in multiple sets'''. In fact, you are not permitted to create duplicate entries within sets, since the new duplicate entries will be automatically removed. Also, operations involving sets are considered to be fast!
s1 = {'Prime', 'Ix', 'Secundus', 'Caladan'}
s2 = {1, 2, 3, 4, 5}