Posts by Carlos Alberto Ferreira • 1 point
1 post
-
-5
votes2
answers37
viewsQ: What is the syntax error in my function?
def Grow_population_rate(year_1, year_2, City_name, pop_1, pop_2): pop_diff = pop_2 - pop_1 year_diff = year_2 - year_1 for pop_rate = pop_diff/year_diff * 100: return("The…