Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

26 bytes added, 07:10, 3 June 2017
INVESTIGATION 3: USING LISTS
= INVESTIGATION 3: USING LISTS =
:'''Lists''' are one of the most powerful '''data-types''' in Python. A list is a series of '''comma separated values found between square brackets'''. Values in a list can be anything: '''strings''', '''integers''', '''objects''', even '''other lists'''. In this section we , you will introduce lists and how to use them effectively, we will come back to lists again in later labs. It is important to realise that although lists may appear identical to arrays, they are different in a number of aspects including which functions are used to manipulate lists as opposed to which functions are used to manipulate arrays.
== PART 1 - Navigating Items in Lists ==
13,420
edits