if decision3 == 'FIST':
fist1 = 1
print(' You: No My reward is MY REWARD')
print()
print('You kill the man with your hands')
print('You feel guilty about what you did and ran into the woods.')
sleep(1)
print('you go home and try to forget about what you did.')
sleep(2)
print('The next morning you see the police knocking on everyones door.')
print('You overhear what the police saying to a man.')
sleep(1)
print(' Police Officer:"Is your name %s?"The man shakes his head.' % (name))
sleep(1)
decision4 = input('You think if you stay a home the police come knocking on your door they will find out it was you who killed the man, but if you run back into the woods the police will never find you. What will you do? RUN away or STAY at home?')
if decision4 == 'STAY':
print('You decide to stay at home and try to lay low for a while.')
sleep(1)
print('A couple of hours later, the police come knocking on your door.')
print(' Police Officer:Is your name %s?' % (name))
decision5 = input('YES or NO')
if decision5 == 'NO':
print('The police officers hear nervousness in your voice.')
exit()
if decision4 == 'RUN':
print()
print('You run into the woods hopeing no one will find you.')
sleep()
talk1 = input('You quickly say:')
print('You quickly say: %s' % (talk1))
sleep(1)
print(
exit()
elif decision3 = 'KNIFE':
print()
print('You decide to kill the old man with your pocket knife.')
Every time i run this i get a invalid syntax on the line where it says "elif decision3 = 'KNIFE':" at the bottom. Please if did a noob mistake Pleas don't criticise i'm only 12.
Aucun commentaire:
Enregistrer un commentaire