Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
convert math equation from string to int
Yirmidokuz
Programming language:
Python
2021-05-25 11:39:10
0
Q:
convert math equation from 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
Related
convert math expression as string to int
python convert exponential to int
np convert to int
New to Communities?
Join the community