Returning Variables in Functions Python Not Working Right
Returning Variables in Functions Python Not Working Right Question: I have been trying to return a variable in a function in a variable and use it outside of it: test = 0 def testing(): test = 1 return test testing() print(test) But when I run it, the result is 0. How could I fix this …