Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread John Palmer
Right thanks for all the help guys, finally got it working. It was because as previously suggested, I was using Idle instead of the terminal. Again thanks for all the help John ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscriptio

Re: [Tutor] Contents of Tutor digest, Help with hangman

2010-07-19 Thread John Palmer
do > > > >>>> "0"*10 > > '00' > > Ah, you're absolutely right. Sorry, I misunderstood you and your '*'. > Good catch. > > Dick > > > -- > > Message: 4 > Date: Mon,

Re: [Tutor] Contents of Tutor digest, help with Hangman program

2010-07-19 Thread John Palmer
dh6SX3q>, which uses Steve > D'Aprano's random_digits function, took 201 seconds (3.35 minutes). > > Still, I understand yours, and not his (the return line). I'd never > noticed random.sample() before, nor tried out extend() on a list. So > thanks, Bob. > > Dick

[Tutor] Help with exercises from learning to program python wikibooks

2010-07-04 Thread John Palmer
Hi I've just decided to try an learn python but i'm already stuck on one of the first exercises, i've given the link below: http://en.wikibooks.org/wiki/Python_Programming/Creating_Python_programs The exercise that i'm stuck on is number three: I've looked at the solution but it appears not to