0
I have two different list ... I want to allocate same indexes in large one to another in python
a=[2, 3, 1] b=[6, 1, 7, 6, 1, 7, 1] I want to allocate same indexes in b to a thanks
7 Réponses
0
what that means?
0
for example I want to assign index of every 6 in "b" to index of first in "a"....and every 1 in "b" to index of third "a" ....
like this
0, 3 => 0
1, 4, 6 => 2
0
sorry but I don't think that's possible
0
every question have a answer.... maybe more...
0
first of all I ain't able to understand what you want to do
0
I solved it with for loops. ...thanks
0
plz share your code