def compute(x):
    x += 5
    print("Value of x in function compute is %d" % x)
    return x


x = 10
compute(x)
print("Value of x is %d" % x)

def compute(x):
    x += 5
    print("Value of x in function compute is %d" % x)
    return x


x = 10
compute(x)
print("Value of x is %d" % x)
