+ 1
Okay. I will give the steps. First, split the input. Then you will have different words in the list. Find the length of the words by using loop and then round up the average
0
Try it yourself first.
0
Show any attempt
0
which issues are you facing? post your code.
0
Send any attempt you made. So that it is easy to correct your code
0
I sent you the steps above try that first.
0
First try by yourself and when you get stuck, ask us.
0
here is my code but the problem is my variable word_sum counts the spaces too.
text = input()
total = text.split()
words_in_sentence = len(total)
words_sum = len(text)
print((words_sum/words_in_sentence)



