Battleship in Python 2

Hi,
I did the lesson to create a BattleShip game in Python 2. The game worked well but when I wait too long
( 10-20 seconds ), the console show this message:
Traceback (most recent call last):
File “python”, line 29, in
ExecTimeoutException: Program took too long to terminate.

I understand I must enter the proposition faster but is there a mean to correct this.
Thank you for you answer and have a nice day.

If you’re saying what I think you are, the code works, you just wondering if there is a way to avoid this ExecTimeoutException error? If that’s the case, then no. It is built in to avoid people using too many server resources (as that could actually affect other CC users).
I hope this helps!

2 Likes