Re: Horribly noobful string question

2005-12-14 Thread SeNTry
SRY, that last bit of code got messed up. Hopefully it will look right now... #define two functions first, then use them. def loopfunc(looping): while looping: guess= input("guess a number. see if you can guess what I'm thinking") if guess == number: print "you got it!" looping=False playagain("

Re: Horribly noobful string question

2005-12-14 Thread SeNTry
"Xavier Morel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Fredrik Lundh wrote: >> "SeNTry" wrote: >> >>> My first post here as I just begin to learn programming in general and >>> python in particular. I have all the noobie confused questions, but as >>> I >>> work thru the t

Re: Horribly noobful string question

2005-12-13 Thread Xavier Morel
Fredrik Lundh wrote: > "SeNTry" wrote: > >> My first post here as I just begin to learn programming in general and >> python in particular. I have all the noobie confused questions, but as I >> work thru the tutorials I'm sure I'll find most my answers. >> >> This one is eluding me tho... I am wo

Re: Horribly noobful string question

2005-12-13 Thread Fredrik Lundh
"SeNTry" wrote: > My first post here as I just begin to learn programming in general and > python in particular. I have all the noobie confused questions, but as I > work thru the tutorials I'm sure I'll find most my answers. > > This one is eluding me tho... I am working in the tutorials, writin