1 00:00:00,000 --> 00:00:03,599 Now you know three data types in Python. You 2 00:00:03,600 --> 00:00:06,599 know integers, you know strings, and you know, 3 00:00:06,600 --> 00:00:11,459 floats. These are simple data types. We also have 4 00:00:11,460 --> 00:00:16,109 what is known as compound datatypes, types that are 5 00:00:16,110 --> 00:00:20,399 made of different objects, and the list is the 6 00:00:20,400 --> 00:00:23,249 most popular one. So in a list, you can actually 7 00:00:23,250 --> 00:00:26,729 store multiple objects. Let's suppose you are a 8 00:00:26,730 --> 00:00:29,279 teacher, and you want to calculate the average 9 00:00:29,339 --> 00:00:32,579 grade of your students. So you use Python for 10 00:00:32,580 --> 00:00:36,839 that, and you need a data structure to store those 11 00:00:36,840 --> 00:00:40,289 values in Python. You need the proper type in 12 00:00:40,290 --> 00:00:44,009 Python to represent the grades of your students 13 00:00:44,309 --> 00:00:48,149 and lists would be a good choice. Let's create a 14 00:00:48,150 --> 00:00:53,519 list stored in a variable as usual, student_grades 15 00:00:54,029 --> 00:00:56,819 equal to open square brackets, close square 16 00:00:56,820 --> 00:01:01,049 brackets, so the objects now will go inside this 17 00:01:01,079 --> 00:01:04,919 syntax. So you saw that with integers, you'd use a 18 00:01:04,920 --> 00:01:07,829 number without quotes for strings to tell Python 19 00:01:07,830 --> 00:01:10,919 that that is a string, you use double or single 20 00:01:10,920 --> 00:01:14,489 quotes. And with list you use these square 21 00:01:14,490 --> 00:01:17,999 brackets. So every type has its own syntax. So 22 00:01:18,000 --> 00:01:24,569 let's say 9.1 and 8.8, and 7.5. Those are the 23 00:01:24,570 --> 00:01:26,159 grades of your students. 24 00:01:26,160 --> 00:01:31,400 [Outro music]