Skip to content
How do we make a list on python?
Profile icon

I need help making a list in python.

You are viewing a single comment. View All
Answered by Bookie0 [earned 5 cycles]
View Answer
Profile icon

Making a list is simple, just name the list a variable and put all its values in these: [].
So an example is:

fruits = ["orange","apple","grape","pear"]

Mark this as the answer if was helpful or userful.