print("""Characters:{0}
Words:{1}
Average word length: {2}""".format(
    total_chars, num_words, total_chars / float(num_words)))
phrase = '***The ?! quick brown cat:  leaps over the sad boy.'
avrg_count(phrase)
Finding average word length in a string