Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 192 Bytes
"""Super simple command line calculator"""
from math import *
import sys
try:
result = input("calculator")
print "result = ", result
except:
print "error occurred...", sys.exc_info()[1]