Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Why isnt this word length selector working
Post: RE: Why isnt this word length selector working

(Mar-26-2017, 05:46 PM)nilamo Wrote: Add some print statements to see what's happening.  Whatever index is, it's apparently a bigger number than however many items/characters are in word. Nope doesn...
Ivan General Coding Help 6 4,607 Mar-26-2017, 06:38 PM
    Thread: Why isnt this word length selector working
Post: RE: Why isnt this word length selector working

(Mar-25-2017, 10:08 PM)sparkz_alot Wrote: Please post the entire Traceback error. This is the TraceBack error : Error:Traceback (most recent call last):   File "C:\Users\Gaming\Desktop\Hangman Exten...
Ivan General Coding Help 6 4,607 Mar-26-2017, 01:24 PM
    Thread: Why isnt this word length selector working
Post: Why isnt this word length selector working

This is the hole program, its a basic hangman game however im just trying to extend it so it has some other functions like choosing your word length. I haven't finished the hole wordLength function so...
Ivan General Coding Help 6 4,607 Mar-25-2017, 09:44 PM
    Thread: 'string index out of range' error when code replaces characters
Post: RE: 'string index out of range' error when code re...

Don't worry guys i found the problem i need to change 'blanks = '-'*len(secretWord)' to blanks = ['-']*len(secretWord) and then change 'blanks = secretWord[i] + blanks[:i] + blanks[i+1]' to blanks[i]...
Ivan General Coding Help 1 3,905 Mar-04-2017, 05:04 PM
    Thread: 'string index out of range' error when code replaces characters
Post: 'string index out of range' error when code replac...

This hangman game isn't entirely finished as I'm still working on it, however i came across this error which occurs very often if i get all my guesses correct. When i run it and guess a number of gues...
Ivan General Coding Help 1 3,905 Mar-04-2017, 03:54 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020