[Tutor] Help with Guess the number script

Ben Finney ben+python at benfinney.id.au
Fri Mar 7 10:08:21 CET 2014


Scott W Dunning <swdunning at cox.net> writes:

> I am trying to write a script for class for a game called guess the
> number.  I’m almost done but, I’m having a hard time getting the hints
> to print correctly.  I’ve tried ‘if’’ ‘elif’ nested, it seems like
> everything….

And, what happens? Please describe what you do (in enough detail so that
we can try it too), what you're expecting to see, and what happens
instead.

-- 
 \      “It is the integrity of each individual human that is in final |
  `\        examination. On personal integrity hangs humanity's fate.” |
_o__)               —Richard Buckminster Fuller, _Critical Path_, 1981 |
Ben Finney



More information about the Tutor mailing list