[Tutor] Could you look over my code?
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.
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor