+ 1
Code coach problem
Need a help in word length average https://www.sololearn.com/coach/73?ref=app My code is here: It match except 1
7 Answers
+ 2
Mandip Adhikari you have attached the link to problem, not your solution. For that you have to copy paste it in code playground and then attach that code file here.
+ 1
I think you're calculation of characters is wrong:
len(text) - text.count(" ")
It does not recognize the special characters. I'll check that...
+ 1
Try this for your sentence variable:
letter_count = 0;
for char in text:
if char.isalpha():
letter_count = letter_count + 1;
+ 1
Thanks for your help. Sandra meyer....
0
https://code.sololearn.com/cbzj26416W8S/?ref=app
Now here is the code.
0
Hi bro
0
Iam new learn