B
blumenkraft
Hi,
I have some list:
x = [8, 9, 1, 7]
and list of indices I want to delete from x:
indices_to_delete = [0, 3], so after deletion x must be equal to [9,
1].
What is the fastest way to do this? Is there any builtin?
Thanks.
I have some list:
x = [8, 9, 1, 7]
and list of indices I want to delete from x:
indices_to_delete = [0, 3], so after deletion x must be equal to [9,
1].
What is the fastest way to do this? Is there any builtin?
Thanks.