+ 1
What is wrong with this code?
def work(rank): def plus(num): print("***") rank(num) print("***") print("END OF PAGE") return plus @decor def invoice(num): print("INVOICE #:" +num) invoice(input())# for help: something with @decor
2 Answers
+ 3
def work(rank):
def plus(num):
print("***")
rank(num)
print("***")
print("END OF PAGE")
return plus
@work
def invoice(num):
print("INVOICE #:", num)
invoice(33)
+ 3
Thank you