0
Why this code is not correct for Python3 5th project???
Here's the code: file = open("/usercode/files/books.txt", "r") #your code goes here for line in file: print(line[0]+str(len(line)-1)) file.close()
1 Resposta
+ 4
you forgot about the file function. read, which returns the contents of the file as a string