There are 4 main types of data that we'll be utilizing in Python: strings, integers, floats, and booleans. Let's dive into each of them!
Strings are any characters enclosed in quotation marks.
So, this is a string:
But this is not a string...
...since it's not enclosed in quotation marks.
To convert anything into a string, surround it with the str() function.
For example, if I had the following variable assigned to a number...
x = 123
...and surrounded it with the str() function...