As a very basic example of what I want to do, I want to update the values 1 and 2, after running them through the example method. Like how you would use ref for Java.
def example(value1, value2):
value1 += 2
value2 += 4
value1 = 0
value2 = 0
example(value1, value2)
print(str(value1))
print(str(value1))