13,420
edits
Changes
→OBJECTIVES
= INVESTIGATION 1 - DATA STRUCTURES =
== Investigation 1 - Part 1 - Tuple ==
A Python Tuple is a number of immutable Python values. This is similar to a list in a lot of ways, except that, you cannot change the values inside.
<pre>
</pre>
== Investigation 1 - 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!
new_list
</pre>
== Investigation 1 - Part 3 - Dictionary ==