GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 20 von 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. 

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck