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

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

You are viewing a single comment. View All
Profile icon
Anoki21

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

You should get Tobias.

Just separate each name with a comma and a space.