LearnPy Hub
← Dictionaries problems
Easy

Names and Marks

Read names on the first line and marks (integers) on the second. Build a dictionary with dict(zip(names, marks)) and print it.

Input

Two lines.

Output

A dictionary.

Sample 1

Input
Mim Rafi
80 70
Output
{'Mim': 80, 'Rafi': 70}

Sample 2

Input
A
1
Output
{'A': 1}
solution.py
Output appears here
Names and Marks · Python practice problem · LearnPy Hub