Applied enumerate() for cleaner code