Python menghitung berapa kali karakter muncul dalam sebuah string
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 :)
Mysterious Mink