[Tutor] Programs for Newbies?
Wayne Werner
waynejwerner at gmail.com
Sat Nov 6 20:24:49 CET 2010
On Sat, Nov 6, 2010 at 11:54 AM, Patty <patty at cruzio.com> wrote:
> For my first program, I liked creating a number game, simple and where the
> user made a choice. That was good for learning how to interact with the
> user. The raw_input() function.
>
> Patty
>
My favorite one is a simple guessing game, where the computer "thinks" of a
number 1-10 (inclusive) and then the user guesses the number, with the
computer responding "Too High" or "Too low!".
For more variation, keeping "score" - number of guesses, # of rounds played,
etc. are fun additions to the program.
HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101106/96eb3c07/attachment.html>
More information about the Tutor
mailing list