Index of List in python
<p>I have this codes</p>

<pre><code>def display(s1,s2):
    l1 = list(s1)
    l2 = list(s2)
    l3 = [None]*10
    for i in range(10):
        for j in range(10):
            if i==l2[j]:
                l3[j] = l1[i]
    return l3

print display('3941068257', '1234567890')
</code></pre>

<p>Example: 3 in position 0 of list1; 0 in position 9 of list2 => we will display 3 in position 9 in new list called l3 and so on ....</p>

<p>so program supposes to display like that 9410682573 but it still display None none ......</p>

<p>My compiler doesn't have debugger so I don't know how to find out. Anyone can help?</p>
