Convert a String to a Number in Python November 13, 2019 Use the int() type constructor to convert a string to number. Sample code: int(‘208’) == 208