Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

eval in python

num=10
expr="(2+(3*2))/2 + num"
print(eval(expr))
Source by www.mygreatlearning.com #
 
PREVIOUS NEXT
Tagged: #eval #python
ADD COMMENT
Topic
Name
1+8 =