Student becomes the teacher - 3/9 "lloyd" vs lloyd


#1

The exercise asks us to create a list for each student. I wrote:

students = [“lloyd”, “alice”, “tyler”]

but the correct code is:

students = [lloyd, alice, tyler]

I thought text needed to be inside parentheses? otherwise it thinks the text are integers?


#2

The above is a list of identifiers, which is much different from a list of strings.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.