Enumerate string
Rust
#![allow(unused)] fn main() { for (i, ch) in s.chars().enumerate() { } }
Python
for i, ch in enumerate(s):
...
#![allow(unused)] fn main() { for (i, ch) in s.chars().enumerate() { } }
for i, ch in enumerate(s):
...