[Tutor] Could you look over my code?
Alan Gauld
alan.gauld at btinternet.com
Sun Jan 4 20:01:47 CET 2015
On 04/01/15 16:13, Connor Perkis wrote:
> 1.How to execute .py files properly on Mac OSX Yosemite
The best way when learning is to start a Terminal session and type at
the Unix shell prompt:
yourprompt$ python3 myfile.py
> 2. Have a look at this code fro the book and tell me what
> to improve
> print(“Game Over”)
> input(“\n\nPress the enter key to exit”)
Given how simple it is there is not much you can improve.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list