Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string is in list? python

x = "a"
xlist = ["a", ]

if x in xlist:
    print(x)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #python
ADD COMMENT
Topic
Name
3+7 =