Python Programming

Department of Computing, Imperial College London

home

Python for Java Programmers

  • Chapter 1: Introduction
  • Chapter 2: Basic data types
  • Chapter 3: Variables and operators
  • Chapter 4: Sequence types
  • Chapter 5: Sets and dictionaries
  • Chapter 6: Control flow
  • Chapter 7: Functions
    • [7.1] Functions
    • [7.2] Positional and default arguments
    • [7.3] Keyword arguments
    • [7.4] Built-in functions
    • [7.5] Functions as objects
    • [7.6] Arbitrary number of positional arguments
    • [7.7] Arbitrary number of keyword arguments
  • Chapter 8: Object-oriented programming
  • Chapter 9: Modules
  • Chapter 10: Files

Chapter 7

Functions

Functions make your code modular

Rough estimated time needed
20-30 mins

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London