Cody Bable


generate functionMon, 03 Jul 2023

check if the word in the string is in the list of the special words to count, if so, add to dictionary along with the number of times it occurred in the string

def string_word_count(string, word_list): word_dict = {} #your code here return word_dict

Questions about programming?Chat with your personal AI assistant