aboutsummaryrefslogtreecommitdiffstats
path: root/test1
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-03-22 20:08:56 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-03-22 20:08:56 -0400
commitd90a58eea6e5753d0264f26f6180b40b697f6e11 (patch)
tree3c2157aa8ebb0b579b87cb05f118ab632f022ea2 /test1
parent3fc57ae22f49e0746467358078632864a905a92f (diff)
testing new features, imp. mult & negatives
Diffstat (limited to 'test1')
-rw-r--r--test121
1 files changed, 13 insertions, 8 deletions
diff --git a/test1 b/test1
index 1d8588c..cc04423 100644
--- a/test1
+++ b/test1
@@ -3,11 +3,16 @@
# looking for proper basic function, respect for order of ops,
# and respect for parentheses
-2 + 5
-14 - 9
-3 * 8 + 3
-9 - 3 / 2
-3 * (8 + 3)
-(9 - 3) / 2
-(4 + 5) * ((9 - 1) + 3)
-5 - 3 + 4
+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)