def input ( prompt = "" ) : string = stdin_decode ( raw_input ( prompt ) ) caller_frame = sys . _getframe ( 1 ) globals = caller_frame . f_globals locals = caller_frame . f_locals return eval ( string , globals , locals )
prompt user in python eval(
input ( [ prompt ] ) - > value
def input(prompt=""):
	"""input([prompt]) -> value

Equivalent to eval(raw_input(prompt))."""
	
	string = stdin_decode(raw_input(prompt))
	
	caller_frame = sys._getframe(1)
	globals = caller_frame.f_globals
	locals = caller_frame.f_locals
	
	return eval(string, globals, locals)