I have the following piece of Python code:
def GetPlayerName():
print()
PlayerName = input('Please enter your name: ')
print()
return PlayerName
What should I do to make sure they can't move on until they enter their name because at the moment they can move on without entering their name by pressing enter?