Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import __builtin__
- from math import *
- import math
- run = True
- sin(90)
- while run:
- a=raw_input("enter a command press done to quit ")
- if(a=="done"):
- run=False
- elif('=' in a or 'print' in a ):
- exec(a)
- elif(a in dir(math)):
- print
- print eval(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement