Skip to content

Latest commit

 

History

History

week-02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Week 2

Lists — storing, changing and organising collections of items.


Lessons

Lesson Covers
01 Introduction to lists Making a list, indexing, negative indexes
02 Modifying lists Overwriting, .append(), .insert()
03 Removing elements del, .pop(), .remove()
04 Organizing lists .sort(), sorted(), .reverse(), len()

Each lesson has a matching .py file. Read the markdown, then run the code and change it.

python build-01.py

Lab

Week 2 lab — five tasks using everything above.


Previous: Week 1 · Next: Week 3