LearnPy Hub
← Iterators & Generators problems
Easy

Pair Up with zip

Read a line of names and a line of marks. Print name: mark for each pair using zip(); extra items are ignored.

Input

Two lines.

Output

One line per pair.

Sample 1

Input
Mim Rafi
90 80
Output
Mim: 90
Rafi: 80

Sample 2

Input
A B C
1 2
Output
A: 1
B: 2
solution.py
Output appears here
Pair Up with zip · Python practice problem · LearnPy Hub