Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
convert math expression as string to int
pewe
Programming language:
Python
2021-07-04 03:30:33
0
Q:
convert math expression as string to int
Ellie
Code:
Python
2021-06-30 08:31:23
a = '10 * 10' print(eval(a))
0
rhysowen
Code:
Python
2021-02-19 21:42:45
expression = '10 * 10' print(eval(expression))
0
Tags
string
int
expression
Related
convert math equation from string to int
New to Communities?
Join the community