Learn how to add and subtract.
# Addition
1 + 1
# Subtraction
4 - 2
10 - 20
# Bare
7
2
# Bare signed
+14
-29
# imagine bare signed as having a zero before the sign that's invisible
0 + 14
0 - 29
# the runtime processes it this way internally
Was this page helpful?