Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

227 bytes added, 09:18, 3 June 2017
PART 2 - Manipulating Items in Lists
courses[0]
courses
</source>It might be useful to change a list element-by-element, but there are other more efficient methods of changing a list (for example:#Now lets using functions). You will now use the '''dir() ''' and '''help() ''' functions to see what functions and attributes are available for manipulating lists have. The '''help() ''' function will also give us tips on how to use some those functions.<br><br>:#Issue the following:<source>
dir(courses)
help(courses)
13,420
edits