from time import* from random import* import os,sys, random def setup(): global name global HP global MP name= input("what is your name marrior? ") HP = randint(5,20) MP = randint(5,20) setup() 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))