Task: Modifying a single element
Swipe to start coding
At Café Pandasia, the coffee shop tracks its coffee bean inventory. The data is stored in a pandas.Series
that keeps track of the quantity of each coffee bean type (coffee_inventory
);
The café manager has noticed a mistake in the inventory of "Robusta"
beans — it was recorded as 200
, but after a recount, it should actually be 180
.
- Modify the
coffee_inventory
and set theRobusta
beans to180
.
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Tiivistä tämä luku
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Modifying a single element
Pyyhkäise näyttääksesi valikon
Swipe to start coding
At Café Pandasia, the coffee shop tracks its coffee bean inventory. The data is stored in a pandas.Series
that keeps track of the quantity of each coffee bean type (coffee_inventory
);
The café manager has noticed a mistake in the inventory of "Robusta"
beans — it was recorded as 200
, but after a recount, it should actually be 180
.
- Modify the
coffee_inventory
and set theRobusta
beans to180
.
Ratkaisu
Kiitos palautteestasi!
Awesome!
Completion rate improved to 2.7single