Tuesday, October 27, 2009

Blog #4: Python Output


1.
a. 7
b. 13
c. 3
d. Combine computes the mathematical function of addition.
2.
a. 8
b. 6
c. 30
d. Splitup computes the mathematical function of subtraction.
3.
a. Strange: a = 6
b.Weird: a = 8 , b=4
Strange (8+4)
= 12
c. reallyWeird (8 , 4):
strange (8 - 4)
reallyWeird: a = 8 , b = 4
strange (8+4)
= 12
d. downrightOdd: a = 3
reallyWeird (2 * 3)
= 6
4.
a. 1
b. 4

EXRTA CREDIT:
Odd computes the mathematical function of division.