Python displays moments of brilliance with elegant comprehensions that make your code look like set-theory mathematics.
While with rust the closest we get is some functional programming , I still feel that in this particular case python code is a lot cleaner.
Indentation in Python determines the flow of code. It's like poetry, where whitespace has meaning.
A badly placed space can completely change the flow of the code,
Is this what you expected?
...
https://www.youtube.com/watch?v=P2WbfpRORLo