0

Write a single line code in python3. to return list of first letter of each word from given statement.

Statement=" Hello my name is Michael Jackson" I can write that code in three lines minimum.. can anybody help me with that.?? Ans is ['H','m',,'n','i','M','J']

30th Mar 2020, 11:19 AM
AMRIT PRASAD PHUYAL
AMRIT PRASAD PHUYAL - avatar
2 Answers
+ 1
~ swim ~ that works ... Thank you..🙏🙏
30th Mar 2020, 11:37 AM
AMRIT PRASAD PHUYAL
AMRIT PRASAD PHUYAL - avatar