Login and get coding
In this Bite you calculate the total amount of points earned with Ninja Belts by accessing the given
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.
2859 out of 2978 users completed this Bite.
Will you be Pythonista #2860 to crack this Bite?
Resolution time: ~36 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.67 on a 1-10 difficulty scale.
» Up for a challenge? 💪