Question: Read the following story, create a code cell below, and use python to calculate how much money Jimothy has in his wallet at the end.

Read the following story, create a code cell below, and use python to calculate how much money Jimothy has in his wallet at the end.
Jimothy has $25 in his wallet when he gets off work. He goes to the bank and deposits his paycheck, keeping $100 for some spending money. On his way home, he sees a three card monty game and decides to bet half of the money he kept from his paycheck. He wins and is paid 2 to 1! Afterwards, he remembers that he needs to pick up dinner and pays $16.72 for some take out. When he gets home, he pays his roommate for his half of the $114.40 electric bill and puts his change in a bowl by the front door. Before bed, he puts a third of what is left in his wallet, rounded down, in a tin can in his closet for a rainy day.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!