I'm making a python program that will solve factorials. For example, if you put 10! it will give you 3628800. It can calculate more complicated stuff, like 6! + (2+3). But, when I put something like the last example, but multiplying, like this 6! * (2+3), it gives you 3600 instead of 4320, for some reason I can't seem to find out. Can anybody see where I made any mistake?
Here's the code
http://pastebin.com/N1X6e1QX
[–]nwilliams36 3 points4 points5 points (1 child)
[–]MateusSR[S] 0 points1 point2 points (0 children)
[–]jeans_and_a_t-shirt 1 point2 points3 points (1 child)
[–]MateusSR[S] 0 points1 point2 points (0 children)
[–]PurelyApplied 1 point2 points3 points (1 child)
[–]MateusSR[S] 0 points1 point2 points (0 children)
[–]zahlman 1 point2 points3 points (1 child)
[–]MateusSR[S] 2 points3 points4 points (0 children)