2018-03-21 12:29:09 -04:00
|
|
|
# test1
|
|
|
|
# arithmetic tests
|
|
|
|
# looking for proper basic function, respect for order of ops,
|
|
|
|
# and respect for parentheses
|
|
|
|
|
2018-03-22 20:08:56 -04:00
|
|
|
print(2 + 5)
|
|
|
|
print(14 - 9)
|
|
|
|
print(3 * 8 + 3)
|
|
|
|
print(9 - 3 / 2)
|
|
|
|
print(3 * (8 + 3))
|
|
|
|
print((9 - 3) / 2)
|
|
|
|
print((4 + 5) * ((9 - 1) + 3))
|
|
|
|
print(5 - 3 + 4)
|
|
|
|
print("")
|
|
|
|
print(-4)
|
|
|
|
print(-4 + -3)
|
|
|
|
print(-8+13)
|
|
|
|
print(4- -9)
|