LearnPy Hub
← Input problems
Medium

Aligned Columns

Read n, then n lines with a name and a score. Print each name left-aligned in 10 characters followed by the score right-aligned in 5 characters.

Input

n, then n lines 'name score'.

Output

n aligned lines.

Sample 1

Input
3
Mim 95
Rafi 7
Sara 100
Output
Mim          95
Rafi          7
Sara        100

Sample 2

Input
1
A 1
Output
A             1
solution.py
Output appears here
Aligned Columns · Python practice problem · LearnPy Hub