LearnPy Hub
← Decorators problems
Easy

The @ Syntax

Write a decorator excited that adds !! to the end of a function's returned string. Decorate name(), which returns the input line, and print name().

Input

One line.

Output

One line.

Sample 1

Input
Wow
Output
Wow!!

Sample 2

Input
Python
Output
Python!!
solution.py
Output appears here
The @ Syntax · Python practice problem · LearnPy Hub