avatar Bite 294. Bowling score

If you've never tried bowling, it's a fun game to play but keeping score can be confusing when you're first getting started.

In this Bite you will be given a string of frame data and need to complete the calculate_score() function and return a final score.  

Strikes are represented with an X, spares with a /, and gutter balls with a -.

Details on how to keep score can be found here and here.

Login and get coding
go back Advanced level
Bitecoin 4X

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

We use Python 3.8