Re: Hangman question

2013-08-05 Thread Joshua Landau
On 5 August 2013 06:11, eschneide...@comcast.net wrote: I'm on chapter 9 of this guide to python: http://inventwithpython.com/chapter9.html but I don't quite understand why line 79 is what it is (blanks = blanks[:i] + secretWord[i] + blanks[i+1:]). I particularly don't get the [i+1:]

Re: Hangman question

2013-08-05 Thread Peter Otten
eschneide...@comcast.net wrote: I'm on chapter 9 of this guide to python: http://inventwithpython.com/chapter9.html but I don't quite understand why line 79 is what it is (blanks = blanks[:i] + secretWord[i] + blanks[i+1:]). I particularly don't get the [i+1:] part. Any additional

Re: Hangman question

2013-08-05 Thread Dave Angel
eschneide...@comcast.net wrote: I'm on chapter 9 of this guide to python: http://inventwithpython.com/chapter9.html but I don't quite understand why line 79 is what it is (blanks = blanks[:i] + secretWord[i] + blanks[i+1:]). I particularly don't get the [i+1:] part. Any additional

Re: Hangman question

2013-08-05 Thread eschneider92
Thanks I get it now. -- http://mail.python.org/mailman/listinfo/python-list

Hangman question

2013-08-04 Thread eschneider92
I'm on chapter 9 of this guide to python: http://inventwithpython.com/chapter9.html but I don't quite understand why line 79 is what it is (blanks = blanks[:i] + secretWord[i] + blanks[i+1:]). I particularly don't get the [i+1:] part. Any additional information and help would be greatly