Python Function Reference

input
Reads a line from standard input, stripping a trailing newline, and returns that as a string.
Python 3.13
input(prompt=None)
prompt
A string, if given, is printed to standard output without a trailing newline before reading input.
Examples
Python 3.13
>>> name = input("Enter your name: ")