I have a list of strings and I'm trying to iterate through it and create each iteration a new list without one of the strings. I tried the following:
tx_list = ['9540a4ff214d6368cc557803e357f8acebf105faad677eb06ab10d1711d3db46', 'dd92415446692593a4768e3604ab1350c0d81135be42fd9581e2e712f11d82ed',....]
for txid in tx_list:
tx_list_copy = tx_list
tx_list_without_txid = tx_list_copy.remove(txid)
But each iteration the new list is empty.