📅  最后修改于: 2022-03-11 14:46:46.709000             🧑  作者: Mango
str = "Hello world".lower()
result = str.count('world')
print(result)
#the ouput will be 1 because in the variable "str" the letter "world" appers only one time :)