I finished the Battleship exercise and I'm very proud of myself. There are beautiful ideas in the exercise Extra credit so I want to apply at least one of them. I want to have two ships in the ocean, I know it's not that hard but I don't know how to prevent the two ships to have the same position, when I assign the value to ( shipB_row) how to exclude the value of (shipA_row), the same for column.
Thank you in advance
shipA_row = random_row(board) shipA_col = random_col(board) shipB_row = random_row(board) shipB_col = random_row(board)