LearnPy Hub
← Data Types & Casting problems
Easy

Join Text and a Number

Read a name and an age. Print NAME is AGE years old by converting the age with str() and joining with +.

Input

Two lines.

Output

One line.

Sample 1

Input
Mim
15
Output
Mim is 15 years old

Sample 2

Input
Rafi
20
Output
Rafi is 20 years old
solution.py
Output appears here
Join Text and a Number · Python practice problem · LearnPy Hub