Python 2.4: Requesting data from the user

We will try to improve our code by asking the user his name is displayed in the program well to do that we need a function, the function here, this function allows to get and display at the same time an element or a variable, if I do what's your name ? I run my program you see what's your name ? If I write a name here mimi I enter, nothing happens because this function has not been exploited but if I take this and I have just pasted here I launch what is your name? lili nothing is sure because I did not hit enter and it should be noted that this function is blocked until I hit enter before the program continues to run you see my name well we'll try to fix it here by putting your name is fine What is your name? lili here we see that there is no space so I will put the space at this level and I want to launch my code you see it works we ask for the user name and you give it normally and it should also be noted that the declaration of a variable and the fact of calling a variable has a priority we declare the variable and then we call it if I already do I put this variable here. You will see that there is an error at this level because the variable is not declared above, we must declare the variable and then call it. If I run the code you will see that there is an error there is an error at this level, it does not recognize it is first the declaration and then the call. it is necessary to note that the interest of the variables to manipulate the data that we do not even know here for example it is that we had already defined the only one which can change at any moment if I put toto I enter we say your name and soon you know that the interest of the variables. We say to ourselves very soon for a next video on the request of age to the user.