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

145 out of 145 users completed this Bite.
Will you be Pythonista #146 to crack this Bite?
Resolution time: ~47 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.77 on a 1-10 difficulty scale.
» Up for a challenge? 💪

We use Python 3.8