I would like to share my opinion. Thanks a lot
Hello, I am Ibrahim, here is my own solution for the last question:
def countlittle (str) :
wordlittle = 'little'
str1split = str1.split()
for word in str1.split():
if word == wordlittle:
return print ("total count of word little is ", count)
str1 = "Mary had a little lamb Little lamb, little lamb Mary had a little lamb.Its fleece was white as snow And everywhere that Mary went Mary went, Mary went Everywhere that Mary went The lamb was sure to go"