import random

words = ["python", "java", "kotlin", "javascript"]
random.seed()
correct_word = words[random.randint(0, 3)]

print("H A N G M A N")
word = input("Guess the word: ")

if word == correct_word:
    print("You survived!")
else:
    print("You lost!")

8fa23ee9a7896022546e8d269ba53de8d99221b2
<mask token>

<mask token>
random.seed()
<mask token>
print('H A N G M A N')
<mask token>
if word == correct_word:
    print('You survived!')
else:
    print('You lost!')

<mask token>
words = ['python', 'java', 'kotlin', 'javascript']
random.seed()
correct_word = words[random.randint(0, 3)]
print('H A N G M A N')
word = input('Guess the word: ')
if word == correct_word:
    print('You survived!')
else:
    print('You lost!')

import random
words = ['python', 'java', 'kotlin', 'javascript']
random.seed()
correct_word = words[random.randint(0, 3)]
print('H A N G M A N')
word = input('Guess the word: ')
if word == correct_word:
    print('You survived!')
else:
    print('You lost!')

import random

words = ["python", "java", "kotlin", "javascript"]
random.seed()
correct_word = words[random.randint(0, 3)]

print("H A N G M A N")
word = input("Guess the word: ")

if word == correct_word:
    print("You survived!")
else:
    print("You lost!")
