> For the complete documentation index, see [llms.txt](https://prof-rossetti.gitbook.io/intro-to-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prof-rossetti.gitbook.io/intro-to-python/notes/python/inputs.md).

# User Inputs

Reference: <https://docs.python.org/3/library/functions.html#input>

The `input()` function allows us to capture user input from the command-line (and usually store the result in a variable):

```python
x = input("Please input a number:")

print(x)
```

> NOTE: the resulting value will be a string
