I edited my thread based on feedback. Basically, I need to use a couple of variables from function 1, and I need to print it in function 2.
How do I go about doing that?
just use the return statement it'll work like charm
def function_one(): num=5 return num def function_two(): print(function_one()) function_two()