0
How do I get the content of the file in the output to get h4, the word is hello.
file = open("tabebooks.txt", "r") str=file.readlines() for line in str: print(line) file.close()
3 Réponses
+ 1
You need the first letter followed by the total number of letters.
0
Yes
0
Thank you.