Rust Coding Example Python