E-mail : support@tech2now.in

String to number conversion in Python

input_number = 188

# check input and type
print(type(input_number))

# convert the number into string
output_str = str(input_number)

# print output and type
print(type(output_str))
Output:
<class 'int'>
<class 'str'>

GitHub Repository URL (Source code)