Commit 8dd1ae92 authored by Julian Bauer's avatar Julian Bauer

Move definition of "money_to_spend" to where it is used the first time.

parent ab9ad997
......@@ -162,7 +162,6 @@ cost = {
"mask": 1,
"pan": 15,
}
money_to_spend = 90
~~~
{: .language-python}
......@@ -181,6 +180,7 @@ and since we absolutely love *cherries*,
we decide that we will get as many cherries as we can with our budget,
but we still want to keep some change.
~~~
money_to_spend = 90
some_change = 10
available_money = money_to_spend - some_change
......
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