I am stuck on the Battleships section


ermahgerd!!! erm sterk ern bertlesherps serctern!!1 plerse herlp mer!!!


I would suggest posting your code, error, and what your struggling with that error so moderators and help deskers can get back to you faster and with better answers :smiley:


No, I mean I don't have a code. I don't understand the instructions.


Ah ok! Well in that case, just tell what your confused about the instructions and we can help you out that way.


These functions should return a random row index and a random column index from your board, respectively. Use randint(0, len(board) - 1).



Call each function on board.

Oh, and that.


Ok. You are obviously not at the very beginning of 13. Battleship. What is the code for your lesson previously? I believe these codes do transfer over throughout the lesson since you are building the game from scratch


board = []
for i in range(0,5):
def print_board(board):
    for row in board:
        print" ".join(row)


There you go.


Hah, I duns it now. fanks 4 da hulp, fwends


Well great! Glad you finished it on your own! That is good for any coder to be able to do!


thanks buddy <3 great help