Easy
Wrap by Hand
Write
stars(func) that returns a new function printing ***, calling func, then printing ***. Make show = stars(say) where say() prints the input line, and call show().Input
One line.
Output
Three lines.
Sample 1
Input
hello
Output
*** hello ***
Sample 2
Input
Python
Output
*** Python ***
Output appears here