Build a Discount Calculator - Build a Discount Calculator

if I add print(apply_discount(50, 0)) in the editor, I see None printed to the console, not 50

remember that discount is 0 here, and that it’s a falsy value and that you have this

Ok thanks. I will try to figure this out.

I did it! Thanks. I changed the code to

removed by moderator

Congratulations on solving the challenge! You should be proud of your achievement…we are! But we are removing your working solution, so it is not available to others who have not yet done the work to get there. Again, congrats!

1 Like