Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Function basics
More advanced concepts
Summary

Instruction

Well done! Next, there is an interesting statement you can use in a function body: pass.

def calculate_bills():
  pass

pass means "do nothing". This can be used in a number of situations. The simplest case is when you want to signify that you've still yet to write the actual implementation.

Exercise

Look at the template code. What do you think will be printed to the output? Run the code to find out.

Since do_nothing() does nothing, it also returns nothing... which is None in Python.