Changes

Jump to: navigation, search

OPS435 Python Lab 4

50 bytes added, 16:44, 14 June 2017
PART 2 - Sets
s2.union(s3) # same as s2 | s3
</source>Notice that both methods above provides the same result, but the first method requires less keystrokes.<br><br>
:#Instead of combining sets, we can find out what display '''values that are in common to both sets'''. This is a known in mathematical terms as an '''intersection ''' between the lists.<source>
s2
s3
13,420
edits

Navigation menu