Answers for "how to change a variable from string to numeric in python"

1

convert string to number python

>>> x = "23"
>>> y = "20"
>>> z = int(x) - int(y)
>>> z
3
Posted by: Guest on March-13-2021

Code answers related to "how to change a variable from string to numeric in python"

Python Answers by Framework

Browse Popular Code Answers by Language