Why does `return 1/self` fail on a fraction object, and what hidden method is `*` actually running every time you use it?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
The SimpleFraction class below stores two integers and has one unfinished method. Fill in the body of get_inverse so that it returns a float representing 1 divided by the fraction itself, then build the fraction three over four and assign the object to frac.
Careful: 1/self is not something Python knows how to compute. Only the two integers inside the object are things it can divide.