can anyone help me with hangman problem
depends on the question
How much have you completed?
def getAvailableLetters(lettersGuessed): j=0 for letter in lettersGuessed: j=j+1 word = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] for m in range(0,26): k=0 for n in range(0,j): if (word[m]==lettersGuessed[n]): k=1 if (k!=1): print word[m] return ' ' this is my code its giving me an error its printing the left letters in new line not in the same line plz help
yall should use a code pasting site - http://dpaste.com - http://pastebin.com - http://www.repl.it/ - http://pastie.org - http://codepad.org - http://ideone.com paste your code there and post the link here. select Python syntax highlighting when u paste.
@rwight I think we have mentioned in previous posts that we do not give full solutions to problems (especially when they are not even due!) We are here to help others understand the problem and provide tips. @lucky12345 Have tou managed to progress with this? Do you still need help?
tell me site where i can paste pics n show my output problem
@lucky12345 just use a code pasting site
Join our real-time social learning platform and learn together with your friends!