¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 20 de 23 · Texto

How to spoil and fix your code 1

David Khieu

How to spoil and fix your code 1

Now sart IDLE (Integrated Development and Learning Environment) again.

  • Click File, Open, point to the file you saved previously and let IDLE read it in. 
  • Try to run it again by pressing F5 when the editor window is active

As you can see, IDLE is able to save your code and retrieve it when you need it again. 

IDLE contains one additional helpful feature. 

  • First, remove the closing parenthesis
  • Then enter the parenthesis again

Every time you put the closing parenthesis in your program, IDLE will show the part of the text limited with a pair of corresponding parentheses. This helps you to remember to place them in pairs. 

Remove the closing parenthesis again. The code becomes erroneous. It contains a syntax error now. IDLE should not let you run it. 

Try to run the program again. IDLE will remind you to save the modified file. Follow the instructions. 

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?