+ 1

How to add last letter of word with Number of letters in a line.

1st letter should be small Number of letters except spaces Example:- if word = English grammar Then, output = r14 And all word's output should come in separate lines.

4th Feb 2021, 5:56 AM
Akash Bhagat
Akash Bhagat - avatar
1 Answer
+ 1
Open file Text = readlines Split each line in text For each word in text print word and its length
4th Feb 2021, 6:46 AM
Oma Falk
Oma Falk - avatar