Average Word Length | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
WyprĆ³buj darmową lekcję
0

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

3rd Sep 2021, 10:43 AM
Scarlet Witch
Scarlet Witch - avatar
2 odpowiedzi
+ 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
3rd Sep 2021, 11:35 AM
Rik Wittkopp
Rik Wittkopp - avatar