DEV Community

Discussion on: Daily Challenge #121 - Who has the most money?

Collapse
hectorpascual profile image
Héctor Pascual

Hi, check this decorator :

docs.python.org/3/library/functool...

Will make you avoid writing some functions.

Collapse
rafaacioly profile image
Rafael Acioly

Thank you Héctor i didn't know about this.

I've tried to apply it but it looks is a little shady for me, i didn't quite understand what is does and how it "magically" does the comparison