how to convert string input to int python code example Example: python string to int print(int("12"))