Skip to content

Instantly share code, notes, and snippets.

🎀

Bev bukandu1

🎀
  • Baltimore, MD
Block or report user

Report or block bukandu1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bukandu1
bukandu1 / main.py
Last active Jul 8, 2019
HB_PreWork_ScribbleAndNotes created by BeverlyUkandu - https://repl.it/@BeverlyUkandu/HBPreWorkScribbleAndNotes
View main.py
def add_fruit(inventory, fruit, quantity=0):
return
# Make these tests work...
new_inventory = {}
add_fruit(new_inventory, "strawberries", 10)
test("strawberries" in new_inventory)
test(new_inventory["strawberries"] == 10)
add_fruit(new_inventory, "strawberries", 25)
test(new_inventory["strawberries"] == 35)
You can’t perform that action at this time.