Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python find string in list

list1 = ["a", "b", "c"]

isBInList = "b" in list1 # True
 
PREVIOUS NEXT
Tagged: #python #find #string #list
ADD COMMENT
Topic
Name
3+6 =