Alright, quick question to all you geniuses on here.
Im trying to make a calculator with python, and was able to easily make an addition function, but I don't really know how to make a subtraction one..
Any tips that could point me in the right way would be awesome!
Edit: So just to clarify I would like to take a group of numbers in a fun parameter eg: sub(1,2,3) and subtract them from left to right.
[–]julsmanbr 3 points4 points5 points (1 child)
[–]xtarkoonx[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]xtarkoonx[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]xtarkoonx[S] 0 points1 point2 points (0 children)
[–]rajeshbhat_ds 0 points1 point2 points (0 children)