0
23rd Sep 2022, 5:01 PM
chetan kumar
chetan kumar - avatar
4 Answers
+ 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.
23rd Sep 2022, 8:41 PM
Emerson Prado
Emerson Prado - avatar
+ 1
The system is telling you some of the errors. What is "num"? Where do you define it?
23rd Sep 2022, 6:01 PM
Ausgrindtube
Ausgrindtube - avatar
+ 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())
23rd Sep 2022, 7:52 PM
ALI Moussa Kadjalla
ALI Moussa Kadjalla - avatar
23rd Sep 2022, 9:10 PM
ALI Moussa Kadjalla
ALI Moussa Kadjalla - avatar