Calculating Single Period Interest | CodeSignal Learn