0
I was trying to solve a problem Named:(Find the average word length).Please read description to clear out.
So the problem was find the average word length in a string sentence. I solved that with python, MY CODE: >>> word = input() total = 0 count = 0 for c in word.split(): length = len(word) total += length count += 1 avg_length = total/count print(round(avg_length)) >>>> I also got the answer. But When i submitted my code 3 test was passed but two where failed. and right now i also Don't even know what should i do to fix in my code. Please can anybody help me. Please.
6 Antworten
0
you forgot this condition " Remove all punctuation."
0
Thanks Dear.
0
Why this emoji Bro🙂?
This emoji is known as (sad ultra pro max)expression 😂
0
Ok please tell me why my account is not activated. Even i Didn't get any kind of activision email?
0
🥺 When i try to give vote to someone's comment, they always remind me to activate my account, f@ck.
You can see that i can't even give a vote to your comments too😂
0
I can guess that you're a playboy.')
Have a nice day dude😉