Same as above. You could use the enumerate generator.