Function pythonic_helper::io::input

source ·
pub fn input(prompt: &str) -> String
Expand description

Provides an easy-to-use way to receive input from the user (via standard input)

§Example

use pythonic_helper::io::input;
 
fn main() {
    println!("Please enter your name");
    let name: String = input("> "); 
}