LearnPy Hub
← Decorators problems
Easy

Run It Twice

Write a decorator twice that calls the function two times. Decorate say(text), which prints the text, and call it with the input line.

Input

One line.

Output

Two lines.

Sample 1

Input
hello
Output
hello
hello

Sample 2

Input
Python
Output
Python
Python
solution.py
Output appears here
Run It Twice · Python practice problem · LearnPy Hub