Hi 🙂🖐
myData = (1, 2, 3)
def remove_item(value, data):
# convert tuple to list
data = list(data)
data.remove(value)
return tuple(data)
print(remove_item(1, myData))
result
(2, 3)
For further actions, you may consider blocking this person and/or reporting abuse
Adaobi Okwuosa -
westtan -
Sanjay R -
404_CHRONICLES -
Top comments (0)