Commit 09704721 authored by Julian Bauer's avatar Julian Bauer

Fix variable name

parent 528c743f
......@@ -1031,7 +1031,7 @@ Positional arguments: (4, 3, 3, 5) - Keyword arguments: {'name': 'John', 'age':
> which can be used to add items to a shopping cart
> ~~~
> fruit_cart = ["apples", "oranges"]
> new_fruit_cart = add_to_cart("bananas", mycart)
> new_fruit_cart = add_to_cart("bananas", fruit_cart)
> print(new_fruit_cart)
> # This prints ["apples", "oranges", "bananas"]
> ~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment