LearnPy Hub
← Dictionaries problems
Easy

Look Up a Capital

A dictionary holds capitals: {'Bangladesh': 'Dhaka', 'Japan': 'Tokyo', 'France': 'Paris', 'Egypt': 'Cairo'}. Read a country (always one of these) and print its capital.

Input

One word.

Output

One word.

Sample 1

Input
Bangladesh
Output
Dhaka

Sample 2

Input
Japan
Output
Tokyo
solution.py
Output appears here
Look Up a Capital · Python practice problem · LearnPy Hub