Skip to content

Latest commit

 

History

History

week-03

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Week 3

Loops, ranges, slicing and tuples.


Lessons

Lesson Covers
01 Looping through lists for loops, f-strings in loops, indentation
02 range() and simple statistics range(), building lists, max(), min(), sum()
03 Slicing and copying lists Slices, negative slices, copying with [:]
04 Tuples Parentheses, immutability, looping, the single-element comma

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

python build-01.py

Lab

Week 3 lab — five tasks using everything above.


Previous: Week 2 · Next: Week 4