you can use input function like python3.
Rust use input_py::input::input; fn main() { let comment = "test"; let input_data = input(&comment); }