Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

No change in size, 13:03, 19 May 2017
PART 2 - Set
== 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.
== PART 1 - Regular Expressions ==
= LAB 1 4 SIGN-OFF (SHOW INSTRUCTOR) =
[[Image:lab1_signoff.png|thumb|right|450px|Students should be prepared with '''all required commands (system information) displayed in a terminal (or multiple terminals) prior to calling the instructor for signoff'''.]]
::<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> Lab1 Lab4 logbook notes completed 
= Practice For Quizzes, Tests, Midterm &amp; Final Exam =
13,420
edits