1# Create a list
2new_list = []
3
4# Add items to the list
5item1 = "string1"
6item2 = "string2"
7
8new_list.append(item1)
9new_list.append(item2)
10
11# Access list items
12print(new_list[0])
13print(new_list[1])
1myList = [value,value,value] #note that you can use any amount of value
2#you don not have to use value
1#creating a list
2create_list = ["apple", "banana", "cherry"]
3print(create_list)
1# empty list
2my_list = []
3
4# list of integers
5my_list = [1, 2, 3]
6
7# list with mixed data types
8my_list = [1, "Hello", 3.4]
1list1 = ['physics', 'chemistry', 1997, 2000];
2list2 = [1, 2, 3, 4, 5 ];
3list3 = ["a", "b", "c", "d"];