Challenge: Running a Grocery Store
Task
Swipe to start coding
You are running a small grocery store that incurs daily expenses of $2000. To determine whether your business is operating at a profit or a loss, you need to compare your daily revenue to your daily expenses.
- Assign
is_business_successfultoTrueif therevenueis greater than or equal to $2000. - Assign
Falsetois_business_successfulif therevenueis strictly less than $2000.
Solution
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 7
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.67
Challenge: Running a Grocery Store
Swipe to show menu
Task
Swipe to start coding
You are running a small grocery store that incurs daily expenses of $2000. To determine whether your business is operating at a profit or a loss, you need to compare your daily revenue to your daily expenses.
- Assign
is_business_successfultoTrueif therevenueis greater than or equal to $2000. - Assign
Falsetois_business_successfulif therevenueis strictly less than $2000.
Solution
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 7
single