WEBVTT

1
00:00.000 --> 00:03.920
So friends, here is the validation challenge pretty much. What I want you to do

2
00:03.920 --> 00:04.560
is to walk through

3
00:04.560 --> 00:09.960
some basic Python concepts and to make things as accessible as possible, what I

4
00:09.960 --> 00:11.200
will do is recommend

5
00:11.200 --> 00:15.690
we do this in an online Python interpreter. So what you can do here is if you

6
00:15.690 --> 00:16.720
go to your browser,

7
00:16.720 --> 00:20.940
if you search for online Python interpreter, you can click this link here and

8
00:20.940 --> 00:21.600
what this actually

9
00:21.600 --> 00:24.960
gives you as you can see right here at the top, it gives you access to the

10
00:24.960 --> 00:26.240
Python programming language.

11
00:26.240 --> 00:29.590
Let me just delete all this right here. Say for example, I create a variable

12
00:29.590 --> 00:30.640
called name and I just
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

12
00:29.590 --> 00:30.640
called name and I just

13
00:30.640 --> 00:35.550
say the value is equal to John and I just say print out the name. If I choose

14
00:35.550 --> 00:36.320
to run this,

15
00:36.320 --> 00:39.410
we can see here at the bottom, but actually print to get the name of this

16
00:39.410 --> 00:40.960
variable. So this here

17
00:40.960 --> 00:44.580
is where you can write some Python code and then just run it to test it. Now

18
00:44.580 --> 00:45.680
the actual code I want

19
00:45.680 --> 00:49.790
you to attempt to write is this stuff right here. I want you to create a list

20
00:49.790 --> 00:51.280
that is comprised of

21
00:51.280 --> 00:57.080
four elements. Now these elements should use the following string values, OSPF,

22
00:57.080 --> 00:59.760
EIGRP, BGP and RIP.

23
00:59.760 --> 01:04.000
Now once you've done that, I want you to use a for loop to iterate through and
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

23
00:59.760 --> 01:04.000
Now once you've done that, I want you to use a for loop to iterate through and

24
01:04.000 --> 01:05.040
print each element

25
01:05.040 --> 01:09.950
within the list. So basically you can print it OSPF, then EIGRP, then BGP, then

26
01:09.950 --> 01:10.960
RIP. Now once you've

27
01:10.960 --> 01:15.590
done this, I want you to modify the logic to include a single conditional check

28
01:15.590 --> 01:16.800
. So one if statement

29
01:16.800 --> 01:21.040
don't need to worry about an LF or an else, just a single if statement. And

30
01:21.040 --> 01:22.080
with that if statement,

31
01:22.080 --> 01:26.530
I want you to test that if the string BGP is within the list, I want you to

32
01:26.530 --> 01:27.360
then print out the

33
01:27.360 --> 01:31.320
statement that is an exterior gateway protocol available. So without your
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

33
01:27.360 --> 01:31.320
statement that is an exterior gateway protocol available. So without your

34
01:31.320 --> 01:32.240
browser, give it a

35
01:32.240 --> 01:35.920
think and I will see you in the very next video where we discuss the solution.
