I am not sure what to do in 9/19(Battleship) problem. It says "Before the lines prompting the user for input:
Print the value of ship_row.
Print the value of ship_col."
So should I copy the full program from 8/19 and then write inset "Print the value of ship_row.
Print the value of ship_col." above the lines prompting for user input ? I tried doing that but it kind of freezes and does not show me anything. Please help.
No, the random number generator is very fast. You may need to do a page refresh and Run. Be sure to input the same numbers displayed (not that it matters, yet) but that is the point.