+ 1
What what is wrong with my code?? (code is for book titles project)
file = open("/usercode/files/books.txt", "r") text = file.readlines() for line in text: length = len(line) for letter in line: if letter = "\n": length != 1 print(line[0] + length) file.close()
1 Answer
0
Please search the forum first before posting a new question. Many had tried this challenge and asked similar questions đ