Question

Sonia has a list called colleges with 10 entries and wants to print the final item on the list. Which code should be used?

(1 point)
Responses

print(colleges[0])

print(colleges[0])

print(colleges[-1])

print(colleges[-1])

print(colleges[10])

print(colleges[10])

print(colleges[+1])

Answers

Answered by GPT 3.5
print(colleges[-1])
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions