LearnPy Hub
← Decorators problems
Easy

A Function Inside a Function

Write outer(name) that defines an inner function inner() returning Hi NAME, then returns inner(). Read a name and print outer(name).

Input

One line.

Output

One line.

Sample 1

Input
Mim
Output
Hi Mim

Sample 2

Input
Rafi
Output
Hi Rafi
solution.py
Output appears here
A Function Inside a Function · Python practice problem · LearnPy Hub