Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python if in list

listttt = ["eee", "yee"]
if "yee" in listttt:
  print("yee")
else:
  print("no.")
Source by thispointer.com #
 
PREVIOUS NEXT
Tagged: #Python #list
ADD COMMENT
Topic
Name
7+7 =