3. Make a List


My code seems to be doing just what it was supposed to do, but codecademy disagrees with me. Please help!

board = []

for i in range(5):
    board.append(['o'] * 5)
print board


I used lowercase o's I'm sorry guys that was a really dumb moment.


yes, and you should have used uppercase o. Problem solved, well done solving it yourself :slight_smile:


And believe it or not you are no the first to have made that mistake so it happens sometimes! Have fun building battleship! This is one of the coolest lessons in my opinion xD


Thank you! I appreciate it!