0
Whts problem in this, it's not running
4 Réponses
+ 2
ALI Moussa Kadjalla Pls avoid giving the finished code as answer, because it makes the OP skip the most important part of learning process. Pls prefer giving hints for the OP to find the solution.
+ 1
The system is telling you some of the errors.
What is "num"? Where do you define it?
+ 1
Try it
def decor(func):
def wrap(x):
print('***')
func(x)
print('***')
print('END OF PAGE')
return wrap
@decor
def invoice(num):
print("INVOICE #" + num)
invoice(input())
0