Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

eval in python

print(eval('1+2'))

output=3
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #eval #python
ADD COMMENT
Topic
Name
1+6 =