13,420
edits
Changes
→Investigation 1 - Part 1 - Tuple
:The first investigation of this lab we will be working with different data structures. These are stored in a similar way to variables and lists, however they can contain a lot more information and are designed for specific purposes. Each structure has its own advantages and disadvantages, this lab will emphasize where those important differences lay. The second investigation will focus closely on strings. We have been using and storing strings since our first class, however in this lab we will dive into the more complex nature of string manipulation. Finally, this lab will cover how to use a variety of different regular expression functions, for searching and input validation.
=== Python Reference ===
= Investigation INVESTIGATION 1 - Data Structures 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>
print('item: ' + item)
</pre>
== Investigation 1 - Part 2 - Set ==
l2
</pre>
= Investigation 2 - Strings =