Create a list in Python

[ ] operator is used to create a list in python

languages = ["c", "c++", "java", "python"]
print(languages[3])


Output :
python

list index starts with 0 and languages[3] prints 4th element in the list.

List need not store similar elements it can be of different data types.