Contact Manager Search

Easy
#dicts #search

Input: `phonebook` (dict), `name` (str). Return: Phone number if found, else 'Not Found'.

Example

Input: {'A': '123'}, 'A'
Output: '123'
Need a hint?
  • Check 'if name in phonebook'
Run your code to see output