Cody Bable

Generation

generate functionMon, 03 Jul 2023

count words in a list

def count_words(word_list): return len(word_list) count_words(['apple', 'mango', 'pear'])

Questions about programming?Chat with your personal AI assistant