look at the editor window again you should see that different parts of the code have different colors string literals are likely green the reserved word def is likely orange look at the last two lineswhere the identifier tellstory is blackand the identifier input is likely purple only identifiers that are not predefined by python are black if you create an identifier namemake sure idle shows it in black starting idle for editing you are strongly suggested to keep the programs you write in the given examples folder along with all the examples provided to you you can always easily see the files you createdall togetherby sorting by creation date you are likely to create new programs derived from some of the given examplesand some earlier programs of your own everything is easy to access if you keep them together the way recommended to start idle to work on this tutorial is to start by opening it on file in the folder where you want to workeither file you want to further edita related file you want to modifyor just any python file in the same folder if you want to start from scratch to open idle with an initial file to editselect the python file in an operating system windowright click (windowsor control-click (mac)to get pop-up window to select how to open the file on windowsthe line for idle requires you to open sub-menu select idle for the latest version opening idle without file referencedirectly from the operating systemmakes the associated folder for opening and saving files be the same wrong one as described in the previous section from inside idlewhen the shell window has foreground focus alternate approaches to starting idle are discussed in the operating specific appendix sections the classic first program have idle started as in the previous sectionso some python file has the foreground focus open new window by going to the file menu and selecting new file this gives you rather conventional text editing window with the mouse availableability to cut and pasteplus few special options for python type (or pastethe following into the editor window (not the shell window)print('hello world!'save the file with the menu sequence file saveand then enter the file name hello py python program files should always be given name ending in pyif you give no extensionpyis assumed you can also enter it explicitly there are also the options file save as and file save copy as both save copy to different namebut only file save as changes the name of the file you are editing in idle warningit is the contents of the foreground idle window that get saved you are unlikely to mean to save the contents of the shell windowbut it is easy for that window to have the focus when you mean to save program in an edit window syntax coloringif you look in the editoryou should see that your text is color coded the editor will color different parts of python syntax in special colors now that you have completesaved programchoose run run module you should see the program run in the python shell window you just wrote and executed program unlike when you use the shellthis code is saved to file in your python folder you can open and execute the file any time you want (in idleuse file open the idle editor and execution