Python has the ability to receive input coming from the user.

I’m talking about input function. When this function is called, the program stops and waits for the user to type something and the program continues when the user press return or enter.

After the input() function, Python received the text from the user and then assign the value to an variable text, after that, if the user prints the variable text, the user could see the text that wrote before.

Here’s an example:

1111

That’s basically the way it is.

 

CC BY 4.0 #Mastery28 by jsphsalazar is licensed under a Creative Commons Attribution 4.0 International License.