How to remove error while creating list in Python using Spyder

python

#1

hello,

I am using the Spyder interface for learning python.I have defined a list as:

areas = ["hallway", 11.25, "kitchen", 18.0, 
        "chill zone", 20.0, "bedroom", 10.75, 
         "bathroom", 10.50, "poolhouse", 24.5, 
         "garage", 15.45]

However this is giving an error:
<img src="/uploads/analyticsvidhya/original/2X/0/010fd3163d4abc95adb1292276fa409d99b31624.png" width=“574” height=“239”


#2

Is that the only piece of code you have executed? If so, that’s rather strange.