>>> str = "Messi is the best soccer player"
>>> str.find("soccer")
18
>>> str.find("Ronaldo")
-1
>>> str.find("Messi")
0
string[index]
if __name__ == '__main__':
s = "techiedelight.com"
ch = '.'
if ch in s:
print("Character found")
else:
print("Character not found")
var = "Hello"
print(var[-1])
there is no dataype as char in python