1
00:00:00,610 --> 00:00:05,320
You can use individual values from a list just as you would any other variable.

2
00:00:05,590 --> 00:00:10,030
For example, you can use F strings to create a message based on a value from a list.

3
00:00:10,390 --> 00:00:12,910
Let's try pulling the first course.

4
00:00:13,310 --> 00:00:18,700
Course topic from the list and composing a message using that value.

5
00:00:18,820 --> 00:00:21,160
So here we will print.

6
00:00:21,820 --> 00:00:25,330
Actually instead of printing, let's create a message here.

7
00:00:25,480 --> 00:00:29,200
Message and here.

8
00:00:32,180 --> 00:00:36,860
Well f here and after that my or.

9
00:00:36,950 --> 00:00:37,730
Yes.

10
00:00:39,360 --> 00:00:43,320
Let's actually write what we can write about topics of our course.

11
00:00:44,840 --> 00:00:46,730
I like.

12
00:00:49,700 --> 00:00:50,330
Python.

13
00:00:50,780 --> 00:00:52,900
So in this case, we will use that.

14
00:00:52,910 --> 00:00:53,750
So.

15
00:00:54,570 --> 00:01:01,050
Python or of course, topics here and we will enter the index here.

16
00:01:01,050 --> 00:01:04,020
So let's let's count now zero.

17
00:01:06,400 --> 00:01:10,260
Zero one, two, three.

18
00:01:10,270 --> 00:01:11,830
So Python.

19
00:01:12,010 --> 00:01:13,150
Python.

20
00:01:14,760 --> 00:01:16,860
Has index of.

21
00:01:17,900 --> 00:01:18,380
Three.

22
00:01:20,300 --> 00:01:21,290
Let's try this now.

23
00:01:21,680 --> 00:01:22,490
Three.

24
00:01:24,190 --> 00:01:26,510
And after that we will lose the title.

25
00:01:26,740 --> 00:01:28,990
Actually, let's use the uppercase.

26
00:01:32,430 --> 00:01:33,840
Here upper.

27
00:01:36,140 --> 00:01:38,180
So I like the.

28
00:01:39,190 --> 00:01:40,960
Python course topic.

29
00:01:40,960 --> 00:01:44,740
And after that we will use the course.

30
00:01:45,040 --> 00:01:45,820
That's it.

31
00:01:48,420 --> 00:01:50,240
And after that we will print.

32
00:01:50,790 --> 00:01:52,530
Print message.

33
00:01:53,670 --> 00:02:00,660
And that's you can see here, I like the python cause we built a sentence using the course topics index

34
00:02:00,660 --> 00:02:03,030
three and assign it to the variable message.

35
00:02:03,030 --> 00:02:11,310
And the output is a simple sentence about the who likes and what I like about programming.
