LearnPy Hub
← Iterators & Generators problems
Easy

Numbered List

Read words and print them numbered from 1 with enumerate(..., start=1), as 1. word.

Input

One line.

Output

One line per word.

Sample 1

Input
rice eggs tea
Output
1. rice
2. eggs
3. tea

Sample 2

Input
one
Output
1. one
solution.py
Output appears here
Numbered List · Python practice problem · LearnPy Hub