Introduction To Python - Learn Python the hard way v2.0
Title: Exercise21
def add(a, b):
	print "adding %d + %d" % (a, b)
	return a+b

def sub(a, b):
	print "subtract %d + %d" % (a, b)
	return a-b

def multiply(a, b):
	print "multiplaying %d + %d" % (a, b)
	return a*b

age = add(30, 5)
height = sub(78,4)
weight = multiply(90, 2)
iq = 100/2

print "Age: %d, Height: %d, weight: %d, iq: %d" %(age, height, weight, iq)

what = add(age, sub(height, multiply(weight, 2)))

print "That is: ", what, "you can do"