You don't need to iterate the array. Just:

>>> x = ['[email protected]', '[email protected]']
>>> x
['[email protected]', '[email protected]']
>>> x.remove('[email protected]')
>>> x
['[email protected]']

This will remove the first occurence that matches the string.

EDIT: After your edit, you still don't need to iterate over. Just do:

index = initial_list.index(item1)
del initial_list[index]
del other_list[index]
Answer from Bogdan on Stack Overflow
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ gloss_python_array_remove.asp
Python Remove Array Item
You can use the pop() method to remove an element from the array. ... You can also use the remove() method to remove an element from the array. ... Note: The list's remove() method only removes the first occurrence of the specified value.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ python-remove-array-item
Python Remove Array Item - GeeksforGeeks
July 23, 2025 - This article will cover different methods to remove items from an array in Python. The remove() method removes the first occurrence of a specified value from the array. If the value is not found, it raises a ValueError.
๐ŸŒ
Python Forum
python-forum.io โ€บ thread-41204.html
How to remove some elements from an array in python?
I have a sorted list of integers that has about 4000 elements. I'm trying to remove every element that is above 550. I used remove() function for the task but it doesn't seem to work. I also looked into pop, tried it and it doesn't seem to work to be...
๐ŸŒ
NumPy
numpy.org โ€บ doc โ€บ stable โ€บ reference โ€บ generated โ€บ numpy.delete.html
numpy.delete โ€” NumPy v2.4 Manual
>>> np.delete(arr, np.s_[::2], 1) array([[ 2, 4], [ 6, 8], [10, 12]]) >>> np.delete(arr, [1,3,5], None) array([ 1, 3, 5, 7, 8, 9, 10, 11, 12])
๐ŸŒ
Stack Abuse
stackabuse.com โ€บ remove-element-from-an-array-in-python
How to Remove Elements from an Array/List in Python
September 15, 2023 - We can use the remove() method on any array or list in Python. To use it, we can simply pass the value of the element we want to remove. Let's imagine we have the following array: ... Another way we can remove elements from list/array in Python is by using the pop() method.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ what-is-the-array-remove-function-in-python
What is the array remove() function in Python?
An array in Python is used to store multiple values of the same type in a single variable. The remove() function is used to remove the first occurrence of a value in a given array.
Find elsewhere
๐ŸŒ
Medium
medium.com โ€บ @heyamit10 โ€บ different-ways-to-remove-elements-from-a-numpy-array-59a8a7f8fe33
Different Ways to Remove Elements from a NumPy Array | by Hey Amit | Medium
April 18, 2025 - When you need to remove more than one element, numpy.delete() lets you pass a list of indices. However, the key here is that these indices must be provided as a list or an array.
๐ŸŒ
Tutorialspoint
tutorialspoint.com โ€บ home โ€บ python โ€บ remove items from python array
Remove Items from Python Array
February 21, 2009 - Where, v is the value to be removed from the array. The below example shows the usage of remove() method. Here, we are removing an element from the specified array.
๐ŸŒ
LeetCode
leetcode.com โ€บ problems โ€บ remove-element
Remove Element - LeetCode
Remove Element - Given an integer array nums and an integer val, remove all occurrences of val in nums in-place [https://en.wikipedia.org/wiki/In-place_algorithm]. The order of the elements may be changed.
๐ŸŒ
Quora
quora.com โ€บ How-do-I-remove-an-element-from-an-array-in-Python
How to remove an element from an array in Python - Quora
Let us suppose you want to remove the third item (value 42) in each possibility. In the case of a numpy array, you use the delete() method, using the index (2) of the desired item to remove: [code]import numpy as np s = np.array([11, 21, 42, 6...
๐ŸŒ
Vultr Docs
docs.vultr.com โ€บ python โ€บ third-party โ€บ numpy โ€บ delete
Python Numpy delete() - Remove Elements | Vultr Docs
November 6, 2024 - Acquaint yourself with practical examples to maximize the efficiency and applicability of this function in your data manipulation tasks. Select the array and index of the element you wish to remove.
๐ŸŒ
Programiz
programiz.com โ€บ python-programming โ€บ methods โ€บ list โ€บ remove
Python List remove()
Become a certified Python programmer. Try Programiz PRO! ... The remove() method removes the first matching element (which is passed as an argument) from the list.
๐ŸŒ
Note.nkmk.me
note.nkmk.me โ€บ home โ€บ python
Remove an Item from a List in Python: remove, pop, clear, del | note.nkmk.me
April 17, 2025 - In Python, you can remove items (elements) from a list using methods such as remove(), pop(), and clear(). You can also use the del statement to delete items by index or slice. Additionally, list comprehensions can be used to create a new list ...
๐ŸŒ
NumPy
numpy.org โ€บ doc โ€บ 2.2 โ€บ reference โ€บ generated โ€บ numpy.delete.html
numpy.delete โ€” NumPy v2.2 Manual
>>> np.delete(arr, np.s_[::2], 1) array([[ 2, 4], [ 6, 8], [10, 12]]) >>> np.delete(arr, [1,3,5], None) array([ 1, 3, 5, 7, 8, 9, 10, 11, 12])
๐ŸŒ
Edureka
edureka.co โ€บ blog โ€บ python-list-remove
Remove Elements From Lists | Python List remove() Method | Edureka
February 6, 2025 - In Python, you can delete elements from a list using several methods. Here are three common ways to do it: ... The `del` statement is a simple way to delete elements from a list by specifying the index of the element you want to remove.
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ python-list-pop-how-to-pop-an-element-from-a-array
Python list.pop() โ€“ How to Pop an Element from a Array
February 9, 2023 - In the list above, we specified the element to be removed using its value: names.remove("Doe").