Compound Interest Function In Python Example