Use the 3-argument form of pow()
Use the 2-argument form of enumerate()