Hello this is Gulshan Negi
Well, I am writing a program for making a hangman game in Python but it shows some error at the time of its execution, I don't know what wrong I am doing here.
Here is my source code:
Python Hangman Game Program Error
Well, I am writing a program for making a hangman game in Python but it shows some error at the time of its execution, I don't know what wrong I am doing here.
Here is my source code:
Code:
import random def select_word(): words_in_computer_memory = ['magazine','stars','computer','python','organisation'] word = random.choice(words_in_computer_memory) return word def is_gussed(word, guessed_letter_list): count=0 for letters in word: if...