Exercise: Using Python as a Calculator
Start Python and use it as a calculator to solve the following problem:
John bought 75 shares of Nvdia stock at $133.82 per share last year. Today, he sold all of his shares at $437.37. How much profit would he make?
>>> (437.37 - 133.82) * 75
22766.25
>>>
How much profit does he make after his evil broker takes their 20% cut?
>>> _ * (1 - 0.20)
18213.0
>>>