Exercise 1 · Chapter: DictionariesRequired+50 XP
Phone Book
Create a dictionary with 3 contacts and their phone numbers:
- Alice: 111
- Bob: 222
- Charlie: 333
Read a name from input and print their phone number.
Need a hint?
3 available · costs 5 XP each
python
Output
Run your code to see the output here.