Battleship! - Check it Twice


This doesn't look right, it says its good but I don't think it is...please help someone

for i in range(5):
    board.append(["O"] * 5)
print board


In what way does it look wrong to you?

It's really difficult to fix wrongness. Gotta establish what that is first.


why doesn't this look right according to you?


Shouldn't i look more like that?


that is what we want to show to the user. How data is stored and how it represented to user are different things. Currently you implemented how the data is stored, in the next exercise you will learn how to display this output nicely to the user


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.