Hangman question

eschneider92 at comcast.net eschneider92 at comcast.net
Mon Aug 5 01:11:35 EDT 2013


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 appreciated!



More information about the Python-list mailing list