We are given a string and is asked to access/print the nth letter of every word of the string in Python.

For this, we will use the split() method because split() method returns a list of words present in the string i.e it convert a string into a list.

Output

Lets put this into action.

Output

If you have a better solution then comment below.

Leave a Reply

Close Menu