SyntaxFix
Write A Post
Hire A Developer
Questions
Because growthRates is a sequence (you're even iterating it!) and you multiply it by (1 + 0.01), which is obviously a float (1.01). I guess you mean for growthRate in growthRates: ... * growthrate?
for growthRate in growthRates: ... * growthrate