Python you can simply use the input function for example to back then put what in gold language it's
quite different.
So I'm going to use this you.
And then we need to provide that you do.
So in this case how do you do it with standard input.
That is the input we give to people.
So I'm going to use all star standard input.
So now we have a leader that will help us in using the input from the user.
So we need to store it in some variable and
now we have a return we can use this to get the input from the user.
So let's start with writing print statement.
So we know that the dirt is working.
So whenever we see these two greater than signs which means that now the reader is ready to take input.
So next we will write out whatever data we want to send.
So let's say that the dos and
he goes to the door the next string.
So now we will use this string method to get the user input.
So we need to define when should we stop taking input.
So we want developer for them.
They're kind of what we press into the user should know that.
Now with all the input from the user is finished and then you can stored whatever.
He wrote this letter to the editor to send Barry over.
So we need to define their value meter by it.
So those since we want to stop taking input when they pass into we are going to use to write as vaccination
which is a new line.
Correct.
Okay.
So if you go or hear
assignment management.
So there is an error too.
So we need to handle this as well.
Let's start handling.
And
if that is not important to nil then we can simply say no we don't.
And then if we did properly then we can send this debt out to the client with them using this connection.
So I'm going to write when I can dog fight and then they do cards and array of words I'm going to define
bite
and then I'm going to type and word this in to bite.
So I'm going to the day and I try to send one to have that.
It returns two things.
The first is the number of bytes that is the turn on the connection and the word bites.
And the other thing is error if it's not written properly.
So if uh it is not equal to nil long but then this
and if everything goes and I'm just went to print out the statement that number of votes then
sequence two plates and instead of using then death I'm team was done.
So now we know that our data has been sent properly or with this connection.
Okay.
The next step we will need to do is to use this data on a plane to come in this lecture develop a program
to view this data.