+ 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

6th Oct 2022, 9:54 AM
Kostas
Kostas - avatar
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)
6th Oct 2022, 11:28 AM
Vitaly Sokol
Vitaly Sokol - avatar
+ 3
Thank you
6th Oct 2022, 5:22 PM
Kostas
Kostas - avatar