DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+7 =
Submit