Ask coding questions

← Back to all posts
how do i make a string index
miab2553 (1)

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

Comments
hotnewtop
LimanData (31)

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

You should get Tobias.

Just separate each name with a comma and a space.

Highwayman (1441)

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