python convert string to data type code example Example: how to convert int in python score = 89 score = str(score)