def count_matching_word(words, keyword):
    count = 0

    for i in range(len(words)):
        if len(keyword) == len(words[i]):
            count += 1

    return count

words = ["apple", "banana", "cherry"]
keyword = "orange"

print(count_matching_word(words, keyword))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: