myList = ['a', 'b', 'c']
myOtherList = [1, 2, 3]
If I chose one element from myList
, how do I remove the corresponding value from myOtherList
. I am choosing elements from myList
at random and need to make sure the corresponding value from myOtherList
is removed.
Aucun commentaire:
Enregistrer un commentaire