Manually enumerating a list
<p>I'm trying to figure out how to manually enumerate a list however I'm stuck as I cannot figure out how to split up the <code>data</code> list. This is the code I have so far..</p>

<pre><code>enumerated_list = []
data = [5, 10, 15]

for x in (data):
    print(x)

for i in range(len(data)):
    enumerate_rule = (i, x)
    enumerated_list.append(enumerate_rule)

print(enumerated_list)
</code></pre>

<p>This prints out..</p>

<pre><code>5
10
15
[(0, 15), (1, 15), (2, 15)]
</code></pre>

<p>When what I'm after is <code>[(0, 5), (1, 15), (2, 15)]</code>. How would I go about this?</p>
