Python Programming

Department of Computing | Imperial College London

book

Lesson 5

Writing Reusable and Self-explanatory Programs

  • Chapter 1: Introduction
  • Chapter 2: Shortcut assignment statements
  • Chapter 3: Custom functions
  • Chapter 4: Refactoring
  • Chapter 5: Advanced function features
    • [5.1] Positional arguments
    • [5.2] Default arguments
    • [5.3] Keyword arguments
    • [5.4] Quiz
    • [5.5] Returning multiple objects
  • Chapter 6: Function scope
  • Chapter 7: Style conventions for functions
  • Chapter 8: git branch
  • Chapter 9: Refactoring the robot
  • Chapter 10: Debugging and testing
  • Chapter 11: Summary

Chapter 5

Advanced function features

Let's boost up your Python functions with more features!

Rough estimated time needed
15 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London