[ create a new paste ] login | about

Link: http://codepad.org/VuDDZfrH    [ raw code | output | fork ]

aaronla - Python, pasted on Jun 6:
1
2
userInput = '1'
print eval('x+1', { 'x': int(userInput)}, {}) 


Output:
1
2


Create a new paste based on this one


Comments: