Enumerate vector
Rust
#![allow(unused)] fn main() { for (i, element) in vector.iter().enumerate() { } }
Python
for i, element in vector:
...
#![allow(unused)] fn main() { for (i, element) in vector.iter().enumerate() { } }
for i, element in vector:
...