The week is almost over! Time flies when you're having fun. Speaking of fun, today's problem is to build a mathematical expression calculator. Basically your function will take in a string such as "5 * (7 - 2) + 6" and should return 31. Using eval is no fun.
Enjoy!
Comments: