LearnPy Hub
← Introduction & print() problems
Easy

Name and Age

Read a name, then an age. Print NAME is AGE years old.

Input

Two lines: a name, then a whole number.

Output

One sentence.

Sample 1

Input
Rahim
20
Output
Rahim is 20 years old.

Sample 2

Input
Mim
7
Output
Mim is 7 years old.
solution.py
Output appears here
Name and Age · Python practice problem · LearnPy Hub