post: idiomatic python loops