Changes

Jump to: navigation, search

OPS435 Python Lab 4

52 bytes removed, 16:13, 14 June 2017
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!
:'''Perform the Following Steps:''':#Start the Within your ipython3 shell:<source>ipython3</source>:#Create , create a couple sets to work with.by issuing the following:<source>
s1 = {'Prime', 'Ix', 'Secundus', 'Caladan'}
s2 = {1, 2, 3, 4, 5}
13,420
edits

Navigation menu