PYTHONHOLICS
Home
Python Basics
Machine Learning
AI and ML Projects
ML in Energy Sector
Evolutionary Algorithms
AFAP Book Series
Intro to scikit-learn
Thursday, February 9, 2017
The In Operator
The word in is a Boolean operator that takes two string and returns True if the first appears as a substring in the second:
>>> word = 'hello'
>>> 'e' in word
True
>>> 'l' in word
True
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment