LearnPy Hub
← Dictionaries problems
Easy

Print Each Pair

Read n, then n lines of country capital. Print each as The capital of COUNTRY is CAPITAL using items().

Input

n, then n lines.

Output

n lines.

Sample 1

Input
2
Bangladesh Dhaka
Japan Tokyo
Output
The capital of Bangladesh is Dhaka
The capital of Japan is Tokyo

Sample 2

Input
1
France Paris
Output
The capital of France is Paris
solution.py
Output appears here
Print Each Pair · Python practice problem · LearnPy Hub