avatar Bite 34. Building a Karma app - implement the User class

This Bite is about implementing a User class that keeps track of karma points received (Bite idea came from our karmabot).

As it is an Advanced Bite we have you look at the tests to figure out the implementation, but we will say that the class uses 3 magic/special/dunder methods and 3 properties.

Good luck and have fun!

Login and get coding
go back Advanced level
Bitecoin 4X

Will you be Pythonista #226 to crack this Bite?
Resolution time: ~46 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.53 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help