169 out of 171 users completed this Bite ...
Will you be Pythonista #170 to crack this Bite?
Average Bite difficulty 1-10 rating: 5.0
» Up for a challenge? 💪
In this Bite you calculate the total amount of points earned with Ninja Belts by accessing the given
You learn how to access score and ninjas (= amount of belt owners) from no less than a
Why a namedtuple, you did not even mention a tuple yet?!
The function returns the total score
int. You learn to write generic code because we test for an updated
ninja_beltsdict as well, see the TESTS tab.