Dec-18-2017, 10:12 PM
Did you run wavic code without a problem? (I got an error with his code)
The for loop you created is inside the else statement. So, every time a new city is added it will calculate the average pollution.
The for loop you created is inside the else statement. So, every time a new city is added it will calculate the average pollution.
When my code doesn't work I don't know why **think** and when my code works I don't know why **think**