Dec-17-2017, 03:03 PM
I've been working on this for almost a day now and I started in so many wrong ways that I cannot see clearly anymore.
What I did now is:
What I did now is:
def number_of_polluted_days(januar): k = {} v = 0 for day, data in januar.items(): for city, pollution in data.items(): d = ['Texas', 'Moscow', 'Berlin', 'Athens'] if k[pollution]>=50: v +=1 return vI'm getting more and more embarrased since I feel like you really tell me something useful and I just don't seem to know how to put it in the program.