Is a character inside a string : String In « String « Python
- Python
- String
- String In
Is a character inside a string

myjob = "hacker"
print "k" in myjob # 1 means true (found)
print "z" in myjob # 0 means false (not found)
Related examples in the same category