Using input function
using input function input function can be used to prompt the user to a certain number or trying.
Let's see how.
So now go to brackets and we will try to do it.
OK.
So to prompt the user to insert something you need to save whatever the user has been inserted in a
variable.
Ok watch how I'm going to do it right now.
Create a variable called Name equal input parentheses.
I will print a message such as What's your name backslash in means newline int..
Then print a string of high space plus name plus space.
How are you as an example.
Then I will create another variable called user.
It will impose Frances's in this line whatever things the user inserted will be stored in User variable.
Finally type print is showing off.
Thank you.
Plus variable name plus goodbye's string as an example.
And you can do whatever you like after that try that on terminal.
All right.
What's your name John Doe.
Code printed.
Hi John.
How are you.
So I'm good.
Then printed.
Thanks John.
Good bye.
Really nice.
You should try that by your code on your computer.
Thank you for watching.