+ 1
Spot the error python
temperatures={ â New Yorkâ:105} if âNew Yorkâ in temperatures: if temperatures [âNew Yorkâ]>90: print(âThe city is meltingâ) else: print(âThe temperature in New York isâ, temperatures [âNew Yorkâ]) else: print(âThe temperature in New York is unknownâ)
3 Answers
+ 7
It is working fine.
https://code.sololearn.com/cV9JDIHsigEq/?ref=app
0
you mean the single quotes?
0
alright thank you so much.