__zero__

eval()

Oct 26th, 2018
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. # @author: __zero__
  2. # better instant console, lol
  3.  
  4. while True:
  5.     try:    print(eval(input(":: ")))
  6.     except Exception as e:  print("[error]: %s" % e)
Advertisement
Add Comment
Please, Sign In to add comment