In python I\'m trying to do the following to define a function:
count_letters(word) = count_vowels(word) + count_consonants(word)
But for
This is not how you declare a function in python. What you want to write is:
def count_letters(word): return count_vowels(word) + count_consonants(word)
That is if you already have a count_vowels and a count_consonants function.
count_vowels
count_consonants