Challenge: Running a Grocery Store
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 7
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 1.67
Challenge: Running a Grocery Store
Sveip for å vise menyen
Oppgave
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 7
single