+ 1
How can you substract negative numbers from negative numbers?
substract
4 Answers
+ 6
You can just code it such as:
print(-7 - -5)
+ 6
(Subtracting minus from minus)
-1 - -1 = 0
(adding minus to minus)
-1 + -1 = -2
+ 2
thank you all for your help
0
as you would subtract any other two numbers.
e. g. print(-2 - (-4))
outputs 2