DEV Community

Shoeb Syed
Shoeb Syed

Posted on

Help me with this code explain me 4 line

def draw(a):
def draw_line():
print(""*20)
a()
print("
"*20)
return draw_line
@draw
def fun1():
print("Hello")
@draw
def fun2():
print("PYTHON")
fun1()
fun2()
Output


Hello



PYTHON


Top comments (0)