One of the shortest RPN calculator in 1 line; 245 characters
# For infix notation
$ python slinfix.py <expression>
# For postfix notation
$ python slpostfix.py <expression>Example:
$ python slinfix.py 2 + 2
4.0$ python -m unittest| Name | Name | Last commit date | ||
|---|---|---|---|---|