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 $ in his wallet when he gets off work. He goes to the bank and deposits his paycheck, keeping $ 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 to Afterwards, he remembers that he needs to pick up dinner and pays $ for some take out. When he gets home, he pays his roommate for his half of the $ 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
