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.
2324 out of 2407 users completed this Bite.
Will you be Pythonista #2325 to crack this Bite?
Resolution time: ~37 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.67 on a 1-10 difficulty scale.
» Up for a challenge? 💪