Web Analytics

Python input() Function

Input/Outputโ€ขInput

The input() function reads a line from input (usually user input).

Syntax

input(prompt)

Return Value

A string containing the user input.

Example

Output
Click Run to execute your code