def function1():
hi = "hello mom"
def function2():
text = hi
#i want to import hi's value here in text from function1() sorry for the indentation I'm new here
def function1():
hi = "hello mom"
def function2():
text = hi
#i want to import hi's value here in text from function1() sorry for the indentation I'm new here