[Solved] on Python, I want to do this : remove or map list or for loop two lists in same time


Mlist = ['alex','peter','alan','david']
Flist = ['mary','kitty','susan','amy']
idx=Mlist.index('peter')
Mlist.remove(Mlist[idx])
Flist.remove(Flist[idx])

print (Mlist)
print (Flist)

solved on Python, I want to do this : remove or map list or for loop two lists in same time