Skip to content

Latest commit

 

History

History

week-03-functions-modules-errors

Folders and files

README.md

Week 03: Functions, Modules and Error Handling

Weekly theme

Functions, Modules and Error Handling develops the next step towards production-quality Python work.

Learning objectives

  • Explain and apply the week's core concepts.
  • Build, test, and improve a small working feature.
  • Document decisions and commit progress with Git.

Prerequisites

Weeks 1-2

Monday-Friday schedule

Day Session
Monday Defining useful functions
Tuesday Arguments, scope, and lambda
Wednesday Comprehensions, modules, and imports
Thursday Exceptions and custom errors
Friday Modular system review

Practical exercises

Complete the daily guided and independent exercises. Reuse relevant retained material where noted and keep your own code in a separate working folder.

Assignment

Reusable student management system. Deliver source code, README, sample data or test evidence where relevant, and a short reflection.

Expected deliverables

  • A runnable project or feature.
  • Clear setup and run instructions.
  • Meaningful commits and a self-review.

Assessment criteria

Conceptual understanding 15%, practical exercises 20%, assignment 20%, GitHub/documentation 10%, mini-project 20%, and participation/code review 5%.

Learning resources

See resources.md, the environment guide, and official Python documentation.