how will you convert a string to an int in python
Answers
Answered by
8
Strings can be converted to numbers by using the int() and float() methods. If your string does not have decimal places, you'll most likely want to convert it to an integer by using the int() method.
Similar questions