So, of course, there are not only numbers in Python, so the floating point type or the integer type
on a complex type are not the only types that exist.
For example, another very important data type is string.
So we can create a string, which basically means a word or text or sentence or something by writing
these symbols here.
We can write hello like this, but also we can write hello like this there.
And maybe not exactly the same, but very much similar.
The main advantage for using these two things here is you can write something like, Let's get started.
So you see it works.
And if I change them, then we have the problem that python things.
Only this let is to string, and then it doesn't really know what to do with the remainder.
So gives us an invalid syntax error.
So let's change it back
to this one.
So, of course, we can store a string in a variable, which I called here string, and then we can
do things with this variable.
For example, we can use to lend command, which are, yeah, which determines the length.
So basically the number of characters of the string.
So we have four, six, seven, 11 and then three spaces, so 14 characters in this string.
What we can also do is we can write something like the answer is plus and then another string, so we
can basically merge two strings.
And you can do this very easily by just writing plus.
So basically adding two strings, and you see the result is a single string, which tells us the answer
is five point zero.
So how does it work when we have some actual calculation?
And we want to then outputs the result in a sentence?
For example, say we want to calculate five plus eight and want to output the result.
So what we could do then is we could store two result in a variable, for example, called eight.
And then we write the answer is.
And then if I just would write, the answer is plus a I get an error because we can only concatenate
strings and not an integer and a string.
The problem is here that a is a no and not a string.
So we must first convert to data tied to a string by writing SDR, and then we get the correct results.
The answer is 13.