China Naming Network - Ziwei Dou Shu - Python problem intersection

Python problem intersection

Mydict=[{' Week':' Monday ',? Minimum temperature':' 16℃', maximum temperature':' 26℃',? Weather conditions: cloudy? Wind power':' 1',? Air quality grade':' excellent'}, {'week':' Tuesday',? Minimum temperature':' 17℃', maximum temperature':' 27℃',? Weather conditions':' sunny',? Wind:' Level 2'? Air quality grade':' excellent'}, {'week':' Wednesday',? Minimum temperature':' 16℃', maximum temperature':' 86℃',? Weather conditions':' sunny',? Wind':' Level 3',? Air quality grade':' excellent'}, {'week':' Thursday',? Minimum temperature':' 16℃', maximum temperature':' 25℃',? Weather conditions':' cloudy', wind:' level 2',? Air quality grade':' Good'}, {'Week':' Friday',? Minimum temperature':' 15℃', maximum temperature':' 24℃',? Weather conditions':' cloudy', wind:' level 2',? Air quality grade':' Good'}, {'Week':' Saturday',? Minimum temperature':' 15℃', maximum temperature':' 25℃',? Weather conditions':' sunny',? Wind':' Level 3',? Air quality grade':' excellent'}, {'week':' Sunday',? Minimum temperature':' 14℃', maximum temperature':' 23℃',? Weather conditions:' light rain'? Wind':' Level 3',? Air quality grade':' Good'}]

Excellent _ list? =? [x[' week']? For what? x? Are you online? My dictionary. What if? X[' air quality grade'] = =' excellent']

Print ("Days with fine air: {}, they are:". format (len (excellent _ list)),end = " "。

For what? Me? Are you online? Excellent _ List:

What if? Me? ==? Excellent _ List [- 1]:

Print (i,' \n')

Otherwise:

Print (me? +",",end= " ")

wind_list? =? [x[' week']? For what? x? Are you online? My dictionary. What if? Int(x[' maximum temperature'] [0:- 1]) < =25? And then what? Int(x[' wind'] [0]) < 3]

Print ("The number of days when the wind force is lower than level 3 and the maximum temperature does not exceed 25℃ is {}, that is,". format(len(wind_list)),end= " "。

For what? Me? Are you online? wind_list:

What if? Me? ==? wind_list[- 1]:

Print (i,' \n')

Otherwise:

Print (me? +",",end= " ")

Temperature _ list? =? [x[' week']? For what? x? Are you online? My dictionary. What if? Int(x[' maximum temperature' ][0:- 1])+int(x[' minimum temperature'] [0:- 1]) < =40]

Print ("The number of days when the average temperature is below 20℃ is {}, that is:". format (len (temperature _ list)),end = " "。

For what? Me? Are you online? Temperature _ List:

What if? Me? ==? Temperature _ List [- 1]:

Print (i,' \n')

Otherwise:

Print (me? +",",end= " ")