-1

so I have a list of words:

list = [name1, name2, name3,...]

I want to print out the first letter of the second word. How would I go about doing that?

Thank you!

Neža Vižintin
  • 181
  • 1
  • 8

1 Answers1

3

You can extract the second word list[1] and then the first letter like this:

list[1][0]
Axel Puig
  • 1,304
  • 9
  • 19