2.4. Total Purchase - Python