Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if item is in the variable python

a ="item"
if "i" in a :
  print("found in list")
else:
  print("not in list")
 
PREVIOUS NEXT
Tagged: #check #item #variable #python
ADD COMMENT
Topic
Name
9+7 =