Exerpad
Exercise 10 · Chapter: DictionariesOptional+50 XP

Contact Book

Create a nested dictionary with 2 contacts. Each contact has a phone number and email:

Read a name from input and print their phone and email.

Example: for Alice:

Phone: 111-2222
Email: alice@mail.com
Need a hint?
3 available · costs 5 XP each
python

Output
Run your code to see the output here.