Reverse Polish notation
Create a function named
rpn in python to evaluate a string written in Reverse Polish notation
Numbers must be separated by one or more spaces; operators do not need to be separated by spaces. Must support +, -, * and /.
Return can be any type that int() will accept
Eval is allowed.
>>> 3 7 + 10 >>> 1 2+3*4- 5