Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

47 bytes added, 07:36, 3 June 2017
PART 1 - Navigating Items in Lists
list4[2][0:2] # First two elements in third list
</source>
:#Using You can use different items elements from different existing lists to create new lists.To demonstrate, issue the following:<source>
first_only_list = [ list1[0], list2[0], list3[0] ]
first_only_list
:::6. Before proceeding, make certain that you identify any and all errors in lab3e.py. When the checking script tells you everything is OK before proceeding to the next step.
::Make notes for all of your observations in your lab log book, and proceed to Part 2.
== PART 2 - Manipulating Items in Lists ==
13,420
edits