Question: Programming Language in Python GAME: WWII Submarine Warfare. Assuming that you are the captain of a submarine and you have a target ahead of you.
Firing Position 2e movement - torpedo trailing we 21 wave set of wees for repeated use 22 print (wave"10, ende) 23 print (wave's) 2412 firing positon (Loftmost) 25 movement 26 space . Initialize firing position offer 27 loopcount 1 287 bis backspace for printing to move backward once 29 bspace. bbb Movement Left to Right 31 steps. 20 colens of distance (range) Range Torpedo Type 191 Target Hit 33 assing our torpedoyme is running two rows then 34 advance another column and two more rows before 35 another advance. When the last vertical has touches 36 any of the it means a hit. 371 38 while loopcount steps: Illustration Only If loopcounts : print(movement "1) You need to develop a loopcount loopcount + 1 complete and user- else: N-Speed movement movement - loopcounts loopcountel Z-Speed print(movement . ") 46 art ed (N) below emple only) 47 print (wave 10, bspace," wave 5) Use as many 48 speed (2) below e mple only) 49 print(wave"3, bspace, " ", wave *12) bspace as you want MENU MIVM is Target (Choose only one speed for the target) Firing Position 2e movement - torpedo trailing we 21 wave set of wees for repeated use 22 print (wave"10, ende) 23 print (wave's) 2412 firing positon (Loftmost) 25 movement 26 space . Initialize firing position offer 27 loopcount 1 287 bis backspace for printing to move backward once 29 bspace. bbb Movement Left to Right 31 steps. 20 colens of distance (range) Range Torpedo Type 191 Target Hit 33 assing our torpedoyme is running two rows then 34 advance another column and two more rows before 35 another advance. When the last vertical has touches 36 any of the it means a hit. 371 38 while loopcount steps: Illustration Only If loopcounts : print(movement "1) You need to develop a loopcount loopcount + 1 complete and user- else: N-Speed movement movement - loopcounts loopcountel Z-Speed print(movement . ") 46 art ed (N) below emple only) 47 print (wave 10, bspace," wave 5) Use as many 48 speed (2) below e mple only) 49 print(wave"3, bspace, " ", wave *12) bspace as you want MENU MIVM is Target (Choose only one speed for the target)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
