Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Average Word Length
I made two codes and they both are not passing cases 3 and 5(which are locked). Please help me debugging them. if possible tell, what and why is the error? Codes: https://code.sololearn.com/c3uTvOKXN8G9/?ref=app https://code.sololearn.com/cTVAyqyEeFnO/?ref=app Code Coach: https://www.sololearn.com/coach/73?ref=app
2 Respostas
+ 2
ā¤ā¢ā šš¢š¢ššØ šš”šš²šš„ āā¢ā¤ Thanks that helped!
+ 1
Scarlet Witch
As ā¤ā¢ā šš¢š¢ššØ šš”šš²šš„ āā¢ā¤ has stated, one of the common problems is the rounding to whole number thing.
Another common problem is that people automatically count letters and words, but don't notice punctuation or SPACES.
Code will count everything, unless you specify not to