+ 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 Respostas
+ 7
It is working fine.
https://code.sololearn.com/cV9JDIHsigEq/?ref=app
0
you mean the single quotes?
0
alright thank you so much.