def dec1(func1):
print("Muhammad Ashfaq is a good programmer")
func1()
print("This is Eaglesoft")
return 0
@dec1
def ashfaq():
print("Who is Ashfaq?")
#Another method that is
# alernative of @dec1
#val=dec1(ashfaq)
#print(val)
def dec1(func1):
print("Muhammad Ashfaq is a good programmer")
func1()
print("This is Eaglesoft")
return 0
@dec1
def ashfaq():
print("Who is Ashfaq?")
#Another method that is
# alernative of @dec1
#val=dec1(ashfaq)
#print(val)