BigBinary AcademyLearn Python
Lesson

WIP - Converting a number into string

A number can also be treated as a string by putting the numbers inside a single quote (‘) at the beginning and end of the number.

In the below example two variables are shown one is a variable and the other is a string. We have checked the type of the variable by using the type function. When the below snippet is executed the type of the variables can be seen.