Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

35 bytes added, 16:25, 14 June 2017
PART 2 - Sets
: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, sets are considered to be fast!
:'''Perform the Following Steps:'''
:#Within your ipython3 shell, create a couple sets to work with by issuing the following:<source>
s1 = {'Prime', 'Ix', 'Secundus', 'Caladan'}
13,420
edits