I have this code here. equation = "4x+7" And I would like to make the 4 and 7 into integers and define x as an integer so I can work out y for the equation. Any easy solutions?
Asked
Active
Viewed 24 times
1
-
Possible duplicate of [Short way to convert string to int Python 3](https://stackoverflow.com/questions/41837247/short-way-to-convert-string-to-int-python-3) – Al14 Jul 02 '18 at 09:42