Skip to content
← Back to Community
how do i make a string index
Profile icon
miab2553

im very comfused and have absolutely 0 clue how to do it

Voters
Profile icon
CassandraRuiz
Profile icon
miab2553
Comments
hotnewtop
Profile icon
Anoki21

studentNames = ["Jin", "Tobias"]
print(studentNames[1])

You should get Tobias.

Just separate each name with a comma and a space.

Profile icon
Highwayman

Would you mind further explaining what you mean by a "string index"?