def north(): print ("To go north press n then enter") north() def Get_Names(name): print(name + " Baggins") Get_Names("Bilbo") Get_Names("Frodo") def Get_Names(fname, lname): print(fname + " " + lname) Get_Names("Bilbo", "Baggins") from time import * from random import * import os,sys, random global name global HP global MP global move global enemyHP print ("Welcome to Middle Earth, " + name) sleep(2) print ("\nYour health is" + " " + str(HP)) print ("Your magic skill is" + " " + str(MP)) from time import * from random import * import os,sys def setup(): global name global HP global MP name = input("What is your name warrior? ") HP = randint(5,20) MP = randint(5,20) setup() global name global HP global MP