0 of 6 problems solved • 0%

Exercise prompt

Repair a Return

A caller can store the value of a function call. Printing inside the function displays a line, but the caller needs return to receive a value.

Example

def title(text): return text.upper() heading = title("departures") print(heading + "!") # DEPARTURES!

The returned string can be joined with another string outside the function.

Your task

The starter displays the day-pass price, but another calculation needs to use the result. Repair pass_price(zones) so it returns twice the number of zones.