wie man das Auftreten eines Wortes in String Python zählt
# define string
string = "Python is awesome, isn't it?"
substring = "is"
count = string.count(substring)
# print count
print("The count is:", count)
Galvik Codex