Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python not in

#Example of usage of python "in" and "not in" 
myVar = "Hello Green"
if "H" in myVar:
	print("H is in the string")
 elif "H" not in myVar:
  	print("H is not in strng")
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
4+2 =