Aug-15-2018, 11:16 PM
The code you've written implies that you already know the answer. But you want to write code that can figure out the answer independent of your knowledge. Do you know how to get your code to print out "11.25" using only print, areas, and a number to indicate the index? e.g. you need to print the second element, and this would print the first
If you still have trouble, post back your new code and we can try to help you more form ther e :)
print(areas[0])As for the third exercise - it really depends on how advanced your Python is. You might want to iterate over the indexes, find "living room" and then add one to that index to get what you really want.
If you still have trouble, post back your new code and we can try to help you more form ther e :)