How to do that book title project in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to do that book title project in python

I cant do it just one mistake

20th Nov 2020, 10:33 AM
Entropy
Entropy - avatar
2 Answers
20th Nov 2020, 10:50 AM
Slick
Slick - avatar
+ 1
A simpler way with 5 lines of code. A simple explanation, loop through all lines, and if a line has trailing/ending "\n" remove it from the count of the length. https://code.sololearn.com/cdaPdMWWeN3W/?ref=app
29th Dec 2020, 6:28 PM
Lam Wei Li
Lam Wei Li - avatar