Courses
Sign inSign up

Functions in Python

Write Python programs with functions, the building blocks of scalable software.

10 Lessons100 Exercises

Decoding Messages

Indexing Strings

Functions

Calling Functions

Reusing Functions

Updating Functions

Level Review

Local Variables

Multiple Inputs

Identifying Functions

Using Multiple Functions

Level Review

Up next

Algorithmic Thinking

Master the fundamentals of designing algorithms, the key to solving problems with computers.

Jump ahead

Course description

In this course you will write and debug programs with functions, while learning how to structure code that scales to solving large, complex problems. Through a sequence of cryptography-themed programming challenges, you will explore how to encapsulate logic and processes in functions. More advanced topics like multiple inputs, function composition, and function dependency are introduced gradually.


Topics covered

  • Decoding Messages
  • Indexing Strings
  • Functions
  • Calling Functions
  • Reusing Functions
  • Updating Functions
  • Local Variables
  • Multiple Inputs
  • Identifying Functions
  • Using Multiple Functions

Prerequisites and next steps

This is a great course if you're comfortable with variables, loops, and conditional statements in Python. Use it to level up your coding skills and grasp the concepts needed for writing scalable software.