Add headers to exercises and labs

This commit is contained in:
lolabird 2023-11-19 23:03:43 -07:00
commit 3153a3e180
7 changed files with 28 additions and 0 deletions

View file

@ -1,3 +1,7 @@
# Runestone.Academy thinkcspy course
# Chapter 12
# Problem 2
def add_fruit(inventory, fruit, quantity=0):
if fruit not in inventory: