Python is stopping before running a loop : <p>I'm having trouble with this code. It will run normally until it gets to the loop (def Game) and just stops there. I did have it as an if statement but that still didn't work. Please note that this may be a bit messy.</p>

<pre><code>import random
import time 
GameInProgress = ("Yes")
TutorialDone = ("No")
ReplayGame = ("Yes")
#Test purposes
PlayerName = ("Lewis")
print ("Welcome to 'Guess The Word!")

def Game():
      GameInProgress = ("Yes")
      TutorialDone = ("No")
      ReplayGame = ("Yes")
      #Test purposes
      PlayerName = ("Lewis")
      print ("Welcome to 'Guess The Word!")
      WordSelected=("No")
      LettersGuessed=0
      print (TutorialDone)
      EnterName = input("Would you like to enter your name?").title()
</code></pre>
