All problems
EasyDicts
Dict basics
Create a dict mapping fruit name → price, then print apple's price.
- #dict
Sample input
apple=80, mango=120
Sample output
80
dict-basics.py
Output
Press "Run code" to execute.
Loading…
Create a dict mapping fruit name → price, then print apple's price.
apple=80, mango=120
80
Press "Run code" to execute.