GoConqr has a new look! Let us know what you think.

Module 20 of 23 · Text

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. 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?