I see people are using any
to gather another list to see if an item exists in a list, but is there a quick way to just do something like this?
if list.contains(myItem):
# do something
I see people are using any
to gather another list to see if an item exists in a list, but is there a quick way to just do something like this?
if list.contains(myItem):
# do something