Home>

How to retrieve python list

From the list below,

house = [["hallway", 11.25],
         ["kitchen", 18.0],
         ["living room", 20.0],
         ["bedroom", 10.75],
         ["bathroom", 9.50]]

the hallway is 11.25 sqm
I want to output in the form of

My code
↓↓↓

for name in house:
    print ("the" + str (name) + "is" + str (house) + "sqm")


I want to know how to take each value in house.