The input() function can be used to accept input from the keyboard at runtime? The function prompts for input from the user and waits for it.
Here is an example:
>>> name = input("Enter your name:")Enter your name:hello world>>> name'hello world'>>>