[−][src]Function python_input::input
pub fn input(prompt: &str) -> String
Returns a String with what the user typed in response to the prompt.
Arguments
prompt
- A &str that is printed to the console as a prompt for the user.
Remarks
This is a convenience function that just shortens the amount of code that is necessary to recieve user input in response to a prompt, such as a question.