Skip to content

Commit 280b6b9

Browse files
committed
changed up the second function review exercise per joaos recommendations
1 parent 8767241 commit 280b6b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python-Basics/Day2-Review.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@
125125
"\n",
126126
"Can you write a function to calculate our profit and allow it to take in our current profits and losses, but also accept additional conditions?\n",
127127
"\n",
128-
"Like maybe `future_profitability(profits={}, costs={}, additional_profits={}, additional_cost={})`\n",
128+
"Like maybe `future_profitability(current_pl = {}, pl_changes = {})`\n",
129129
"\n",
130-
"I want to be apply to say `Rent` and have it be `10000` less than what it currently is and see if that makes us profitable."
130+
"I want to be apply to say `Rent` and have it be `10000` less than what it currently is and see if that makes us profitable. I also want you to make it so that a negative value *cannot* become a positive value. So if `Rent` is `-20000` the maximum value we canve have in `pl_changes` for `Rent` is `20000`. That's because it's really unlikely thate the landlord will pay us to be a business!"
131131
]
132132
},
133133
{
@@ -143,7 +143,7 @@
143143
"cell_type": "markdown",
144144
"metadata": {},
145145
"source": [
146-
"So what if Rent is $10000 less than it currently is, will be profitable then?"
146+
"So what if `Rent` is $10000 less than it currently is, will be profitable then?"
147147
]
148148
},
149149
{
@@ -159,7 +159,7 @@
159159
"cell_type": "markdown",
160160
"metadata": {},
161161
"source": [
162-
"How much less rent would it be for us to make a profit?"
162+
"Can we turn a profit just by decreasing `Rent`? How much would it have to decrease?"
163163
]
164164
},
165165
{

0 commit comments

Comments
 (0)