 If you select the drop down to be in the console and then over here in the search box, just search for print and it will tell you the syntax for that print function. So you can see this print function here and tell you what it is. It's a function of the built in module. It's built into Python and explain what it does. And so if you look at this, this is the complete syntax for that print function. And our function print, I just print one message called hello, just the string. So that string is the value part right here. This is the value, whatever the value is, and then here you have some other stuff. Okay, this dot dot dot mean is a spread. What that means is that you can have multiple values, right, if you separate each with a comma. Okay, so in other words, I can go and print something like this. You can say print, I, there, like that. You separate each value with the comma. And so when I print it out, it will say hi there. Okay, that's what this means. And you can print something like this print, I am, and then I am a comma 20 comma years old. And when you hit enter, you see that says I'm 20 years old. That's why it's very flexible in Python to do this way. So you can separate each variable or each piece of code. Here I'm using a string and number and a string again to print that. Okay. So values. And then you have a SEP here. This is called a separator. A separator by default has a single space character. This space here is the space between the word hi there. As you can see inside here, there's no white space right between the quotes here. There's no white space. Right. So every time you have a comma between these two words, it's going to create a separator using a white space. You can see there's this guy right here. And there is an end attribute equal to the slash n. Okay, the slash in here is known as the line feed, or I guess you can also say that's the carriage return. Okay, what this one does is that at the end of your statement, once it's printed, it's going to have a carriage return, and then your next line will be in the next line down here. Okay, if you use that as a part of the carriage return. So by default, these are the default settings. You can override these and I'll show you in a minute. The next part here is optional. We're not going to use this until much later in the course. This means you can actually print the output here. Once you go into the console, you can save the output directly to a file. When we write and write files, we can we can see how useful this can be. Okay, then the flush here, it just means that once you write to the file, you want to clear everything and the flush and the stream. Again, that's something we'll talk about later. Now, this point statement, you don't have to worry about, you know, all of these here. I'm just showing you here. If you want to use it, you can maybe, maybe this, this, just these three here. Okay. But usually, we don't have to concern about these usually just just this part. Okay, so I want to show you what this step is and what this end is so that when you print data to your console, you can use that for formatting your code. So let's go over here to the program and let me clear my console again control L over here. And then so let's say I have another one print. We're all right. So I have two messages here. And notice I'm using one with a double quotes and with that with the single quotes. Okay, these are called strings. And so strings, you have to wrap your characters with a pair of double quotes or single quotes, but not not a mix of those. Okay, so either one will be fine. So if I, if I say this now, and I print run and print, you will see the result here and two separate lines. Right. And that is because again, because the end of that print function has a carriage return set in notice what I what I do this if I go to the first statement. There's a comma here and I say and equals and you put a character here by default is the slash and if you remove that slash and just leave a blank like that. So now there's no carriage return. Okay, so if I save it now. And run it again. And you will see the result is now different from above. Right. So notice we lost the carriage return for the first print function, because we removed it, the override that the slash in. And so because it's no cash return, then the next line prints exactly what the cursor was at the time it was hanging right in here. And then we print the word world. And because the world we did not, you know, override the end here. So the cursor. And it's also the end of the statement. So we end right here. Right. So that's just some, you know, handy ways to format your print statements. If you want to print a single line using multiple print functions, then you do it this way you just override that and space here. Okay, so now if I go to do go something like this back to this part, I'm going to modify this separator. So by default is one white space in between. I just showed you earlier right so for now. So as you notice there's no white spaces after or before the words. And if I say that now, I'm going to clear my console over here and run it. So it added that white space automatically, because that's the default. So again, you can change that as well. Just make sure that it has to be the end of all your values. Okay, so I mean you cannot put it in between have to be the end of the values, and then you can say, SAP equals, and you added any character you want. So if you just put a blank pair of characters quotes, no space in between that means you're removing the white space. So because now I'm overriding that if I save it now and I run it. You see that the white space is now gone. Right. It's gone. So to give you this flexible way of updating your code, I can put any code I want here I could put like stars, right it doesn't matter a space three stars in a space, and we run it to get this really interesting output here. Right. And so for every word that you put in here like hello world, and then exclamation mark or something right. So I have three values to print, and I separate each value with this separator, and you run you print something that looks like that right. So again for outputting purposes. Okay, so that is. So I just showed you how you can print. You know, three texts out to the console. If I remove that last part again. If I print that out again, you will see on the right side that has a white space, the default again back to default white space, and every every for every comma there's a white space you can think of it that way. But I'm joining three words into one. Okay. So, this is another way to what we will call concatenate your strings. Otherwise, another way to print this out would be something like this right print. Hello world, and then that. So if I put I'm going to get the same result. As you can see. Okay. So here I'm separating each word with a comma here I combine everything as a single strain. If I print. Like, Hi, I am. Plus, and then, if I put, let's just say as to get as to is an integer. I'm S to points behind. Okay. So I want to say hi, I am 123 points behind that is the expectation. So when you I'm joining three strings, I'm trying to join three strings here this is string one. 123 and the other strings. So, again, back to the rule. If you are joining a string with any other type, all of these must be converted to string. Okay, so if you run you can have an error. The same error it was just type error type means the data type doesn't match. So again doesn't know what to do. So therefore you have to convert this as to to a string. Okay, so then you have to go in here and say, okay, I do wrap this to str. So I can print it out. And then there it is. So if you're using the good catnator, you have to convert all your non string to strings first to to output. The other option that you can use I mentioned earlier also if you remember to print function. Right. Up here, you can include many values with a comma. And this one, you can rewrite to do something like this. So I want to say, okay, I am I removed that space, comma, remove all of that. I'll use each of those as separate separate pieces, separate values for the print statement. As you can see, I don't have to worry about conversion here because each of those will be treated separately. And the result is going to print that to the output as a string anyway. So when I print that out, you see it got the same result. So you have so many options here, right? Another way to rewrite this using the print function is you can use the placeholder for this variable here. So I can do something like this. And that spot. I'll use a pair of curly braces like that. This is a placeholder. I am what's going to go here is at the end over here the string. So over here, and you can use a function called format. So dot format inside this function, you can pass the values to go into this slot. So there's only one set of curly braces here. It's going to replace with as to so I put as to here. Okay. So you see the prints. I am. It finds that Oh, it's you're going to format that string. And each of these slots pass and the value of this variable to the slot. And this is really handy because you can control the order of these variable here. What I mean is like, I can go back and do something like this. Let's say I have, I am in 25 points. I said I'm 25. And another here, I'm just use that for example here. So the first slot, second slot. So the first slot, comma, what is going to go to second slot, I could put a number, you know, five, six, seven. So in that order, one, two, one, two. And then you see that it goes into the slots. I put a number here. It doesn't be number. It could be anything to be a string. What doesn't matter because I did not specify here. Right. And this is really important. Again, I mentioned that because if I go back up arrow key and run it again, I can change the order here. I want to print, you know, So this will be the first position, the second position. Okay, the first position always zero position. This is the one position and then two, three, four, my always stuff with zero first. So I want to swap those around. This will be the first, the second position. This is the first one. So that means the number zero is the lowest one. So this is always the zero position. So that means this values going to go here. And then this going to go over here because this is this next one. So I basically swap the two here, just by, you know, changing the order here. So you can see that the number of estimates swapped.