Pybites Logo

Bowling score

Level: Advanced (score: 4)

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.