Rust Minimum Function Python Example