Advertisement
Guest User

execpastebindoron

a guest
Oct 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import __builtin__
  2. from math import *
  3. import math
  4. run = True
  5. sin(90)
  6. while run:
  7. a=raw_input("enter a command press done to quit ")
  8. if(a=="done"):
  9. run=False
  10. elif('=' in a or 'print' in a ):
  11. exec(a)
  12. elif(a in dir(math)):
  13. print
  14. print eval(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement