Trying to solve generating in intermediate python | Sololearn: Learn to code for FREE!

0

Trying to solve generating in intermediate python

Here is my code : i would like to know what is wrong with my code

3/25/2021 11:49:58 AM

Simisola Osinowo

6 Answers

New Answer

0

#your code goes here def decor(func): def wrap(num): print("***") func(num) print("***") func(num) return wrap @decor def invoice(num): print("INVOICE #" +num) invoice(input());

0

Are you trying to do the 'Generating...' practice or the 'Collecting reports' practice? Because, your code doesn't go with your original post as decorators haven't been covered and it looks like your code has more to do with the 'Collecting reports' practice.

0

Trying to solve 'Generating....'

0

I don't see any problem. Maybe you typed func(num) and print("***") twice, delete the additional one and try again.

0

It did not work

0

ChaoticDawg sorry it was a mistake it is is actually collecting reports practice But am also having issue with 'Generating....'