LearnPy Hub
← Classes & Objects problems
Easy

A Cat That Meows

Write class Cat with a name and a method meow() returning NAME says Meow!. Read a name and print meow().

Input

One line.

Output

One line.

Sample 1

Input
Tom
Output
Tom says Meow!

Sample 2

Input
Kitty
Output
Kitty says Meow!
solution.py
Output appears here
A Cat That Meows · Python practice problem · LearnPy Hub