Use enumerate() instead of range() etc.