Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions episodes/writing-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ In the date example above, we printed the results of the function code to output
```python
def calc_fine(days_overdue):
if days_overdue <= 10:
fine = days_overdue * 0.25
fine = days_overdue * 0.25
else:
fine = (days_overdue * 0.25) + (days_overdue * .50)
fine = days_overdue * 0.75
return fine

fine = calc_fine(12)
Expand Down