Home >>Python Keywords >Python in Keyword
Python in keyword is a case-sensitive in python and is used to iterate the sequence with the for loop. It is also used to check whether an element present in a sequence like list, tuple, string, etc.
Here is an example of Python in Keyword:
skill = ["php", "python", "mySql"]
if "python" in skill:
print("yes")
Example 2:
skills = ["php", "python", "mySql"]
for z in skills:
print(z)