py: Compoung interest with string format.