1
00:00:00,180 --> 00:00:01,650
This is a python quiz.

2
00:00:01,710 --> 00:00:03,430
Can you answer the question.

3
00:00:03,480 --> 00:00:12,970
I'm going to run Python three on the subject to host And I'm going to set Rhoda to 1 9 2 1 6 8 1 2 and

4
00:00:12,970 --> 00:00:17,800
then I'm going to type Rhoda Brackett colon 3.

5
00:00:18,010 --> 00:00:20,540
What will be displayed when I press enter.

6
00:00:20,710 --> 00:00:22,800
Present a notice it's 190.

7
00:00:23,110 --> 00:00:30,520
If I specified two notice it's 19 if I specified four notice I get one on two.

8
00:00:30,820 --> 00:00:33,200
Or what about seven.

9
00:00:33,490 --> 00:00:35,920
Notice I get one i to dot 168.

10
00:00:36,130 --> 00:00:43,320
So this specifies the number of characters on the left hand side for three characters.

11
00:00:43,360 --> 00:00:46,630
This is the first two characters 190.

12
00:00:46,750 --> 00:00:52,370
This specifies the first four characters and this is the first seven characters.

13
00:00:52,390 --> 00:00:53,700
This is a string.

14
00:00:53,710 --> 00:01:02,670
Notice type of Rhoda is string in this case I've specified a string and I can extract it data from that

15
00:01:02,670 --> 00:01:03,440
string.

16
00:01:03,660 --> 00:01:07,290
When working with network automation you're going to be working a lot with strings.

17
00:01:07,290 --> 00:01:12,750
It's important to know how to manipulate strings as an example on my telnet or SS H to a right and get

18
00:01:12,750 --> 00:01:18,780
back some data and then I need to look for data in that output that's been returned as a string.
