Re: [Tutor] S.find()

2010-07-02 Thread Corey Richardson
Thanks everyone! I got it all working now, and I finished up the program. Your help is much appreciated ;-) ~Corey Richardson ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo

Re: [Tutor] S.find()

2010-07-01 Thread Steven D'Aprano
On Fri, 2 Jul 2010 08:05:35 am Corey Richardson wrote: > Hello Tutors! > I'm having a problem with the find() method of string objects. [...] > The module documentation lists it as this: "S.find(sub[, start[, > end]]) -> int". > I'm assuming sub is the string you want to find, and that

Re: [Tutor] S.find()

2010-07-01 Thread Mark Lawrence
On 01/07/2010 23:05, Corey Richardson wrote: Hello Tutors! I'm having a problem with the find() method of string objects. I'm currently making a hangman game, and I'm making the part that finds if there are multiple copies of the guessed letter in the word, and then if there are, finds them all.

[Tutor] S.find()

2010-07-01 Thread Corey Richardson
Hello Tutors! I'm having a problem with the find() method of string objects. I'm currently making a hangman game, and I'm making the part that finds if there are multiple copies of the guessed letter in the word, and then if there are, finds them all. I can't for the life of me figure out the