Answers for "python assign string to number"

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 "python assign string to number"

Python Answers by Framework

Browse Popular Code Answers by Language