It is showing completed, but I never followed that final step of “Call each function on
Board.” In fact, I’m not even sure what “calling a function” means in this context.
Here’s what my code looks like:
def random_row(board_in):#random row return randint(0, len(board_in) - 1) def random_col(board_in):#random column return randint(0, len(board_in) - 1)
Would "Calling each function on
Board" look like this? -
EDIT: When I clicked Next, it replaced my code with correct code, which looks like this:
ship_row = random_row(board) ship_col = random_col(board)
If I didn’t include those two lines, why did it give me the green checkbox?