Writing Python like Rust

python