if nothing appears after you hit the enter keythen you know pygame was successfully installed if the error importerrorno module named pygame appearstry to install pygame again (and make sure you typed import pygame correctlyfigure - the pygame org website the pygame website at several other game programs made with pygame figure - shows the pygame website hello world in pygame the first pygame program is new "hello world!program like you created at the beginning of the book this timeyou'll use pygame to make "hello world!appear in graphical window instead of as text pygame doesn' work well with the interactive shell because of thisyou can only write pygame programs and cannot send instructions to pygame one at time through the interactive shell pygame programs also do not use the input(function there is no text input and output insteadthe program displays output in window by drawing graphics and text to the window pygame program' input comes from the keyboard and the mouse through things called events events are explained in the next source code of hello world type in the following code into the file editorand save it as pygamehelloworld py if you get errors after typing this code incompare the code you typed to the book' code with the online diff tool at