Changes

Jump to: navigation, search

OPS435 Python Lab 4

1 byte removed, 13:03, 19 May 2017
LAB 1 SIGN-OFF (SHOW INSTRUCTOR)
== PART 2 - Set ==
:Sets are another very similar structure to lists, they can also be modified and changed, unlike the tuple. But sets have two unique characteristics, they are unordered, and they cannot have duplicate values. The unordered part provides a added performance from hashing the values, but also means we cannot pull out a specific value at a spefici position. Any duplicate entries will immediately be deleted. Sets however are great tools for doing comparisons, finding differences in multiple sets, or finding similarities. The best part about sets are, they are fast!
Lets create a couple sets to work with.
::<span style="color:green;font-size:1.5em;">&#x2713;</span> x
::<span style="color:green;font-size:1.5em;">&#x2713;</span> x
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Lab4 Lab1 logbook notes completed
= Practice For Quizzes, Tests, Midterm &amp; Final Exam =
13,420
edits

Navigation menu