Positive integer
Input
convert_int_to_str(42)
Output
"42"
The integer 42 becomes the string "42".
Full lesson preview
Turn an integer into its string representation.
Problem statement
Task
Examples
Input
convert_int_to_str(42)
Output
"42"
The integer 42 becomes the string "42".
Input format
Output format
Constraints
Samples
Input
convert_int_to_str(-7)
Output
"-7"
Negative numbers keep the minus sign in the string.