Please examine Kaggle’s Python exercise 7 to try this yourself.
This week I completed Kaggle’s python exercise 7. In that exercise, there was a simple but interesting challenge of adding “$” to the y-axis ticks on a matplotlib graph. And this post is my documentation of my process.
Here’s the question from Kaggle:
After completing the exercises on lists and tuples, Jimmy noticed that, according to his
estimate_average_slot_payoutfunction, the slot machines at the Learn Python Casino are actually rigged against the house, and are profitable to play in the long run.
Starting with $200 in his pocket, Jimmy has…