def calculate(x,y):
    total = x+y
    print("In Function")
    print("a:",str(a)," b:",str(b)," a+b:",str(a+b)," total:",str(total))
    return total

a = 5
b = 7
total = 0

print("In Program")
print("a:",str(a)," b:",str(b)," a+b:",str(a+b))

sum = calculate(a,b)
print("After Calculation")
print("Total:", str(total), " Sum:",str(sum))

595d82b76432ae86efbfcc49635269822c79319d
<mask token>

def calculate(x, y):
    total = x + y
    print('In Function')
    print('a:', str(a), ' b:', str(b), ' a+b:', str(a + b), ' total:', str(
        total))
    return total


<mask token>

def calculate(x, y):
    total = x + y
    print('In Function')
    print('a:', str(a), ' b:', str(b), ' a+b:', str(a + b), ' total:', str(
        total))
    return total


<mask token>
print('In Program')
print('a:', str(a), ' b:', str(b), ' a+b:', str(a + b))
<mask token>
print('After Calculation')
print('Total:', str(total), ' Sum:', str(sum))

def calculate(x, y):
    total = x + y
    print('In Function')
    print('a:', str(a), ' b:', str(b), ' a+b:', str(a + b), ' total:', str(
        total))
    return total


a = 5
b = 7
total = 0
print('In Program')
print('a:', str(a), ' b:', str(b), ' a+b:', str(a + b))
sum = calculate(a, b)
print('After Calculation')
print('Total:', str(total), ' Sum:', str(sum))

def calculate(x,y):
    total = x+y
    print("In Function")
    print("a:",str(a)," b:",str(b)," a+b:",str(a+b)," total:",str(total))
    return total

a = 5
b = 7
total = 0

print("In Program")
print("a:",str(a)," b:",str(b)," a+b:",str(a+b))

sum = calculate(a,b)
print("After Calculation")
print("Total:", str(total), " Sum:",str(sum))
