Help me with this code explain me 4 line



This content originally appeared on DEV Community and was authored by Shoeb Syed

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


This content originally appeared on DEV Community and was authored by Shoeb Syed