LearnPy Hub
← Classes & Objects problems
Easy

Person Introduces

Write a Person class with name and age, and a method introduce() returning Hi, I'm NAME and I'm AGE.

Input

Two lines.

Output

One line.

Sample 1

Input
Mim
20
Output
Hi, I'm Mim and I'm 20.

Sample 2

Input
Karim
65
Output
Hi, I'm Karim and I'm 65.
solution.py
Output appears here
Person Introduces · Python practice problem · LearnPy Hub