making a text adveutyr game in python code example
Example: python naming script text game
# Function gets name from user
def get_name():
print("Hello what is your name?")
name = input("My name is: ")
print("Hello ", name)
return name