Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

eval in python

#string in another string
expr="'2+3'"
print(eval(expr))
print(eval(eval(expr)))
Source by www.mygreatlearning.com #
 
PREVIOUS NEXT
Tagged: #eval #python
ADD COMMENT
Topic
Name
2+6 =