human
codes to count average of length of words in a given text using.
assistant
Here is a Python program to code to count average length of words in a given text using the program

text = "This is a test"

# Calling the function
print((count_average_length(text)))

#Example Output
# 2.75

#Remember to inspect code for bugs.