00:01
Hello, welcome to this lesson.
00:02
In this lesson, we'll run the python code given to us.
00:06
So the first thing is that we have a variable called name, and it is assigned to a value parent.
00:13
And the second thing would print the name.
00:18
So by printing, we have the name, harriet, nothing really much.
00:25
The second thing is that we are trying to assess the fed variable, that is the fed character in value.
00:36
So we have in this at zero, which is h in this at one, which is a an index that to which is out.
00:48
But here we have, we don't have the string as a list.
00:54
So it would not would not support assignment direct assignment like that.
01:01
So let's run and see what happens.
01:05
Yeah, so we have an error that sees that the type error, a string object does not support item assignments, right? we cannot use the list as if it is a string, to some extent, all right, if there has been a list with that form actually fix out the big owl into the place of the small owl.
01:27
So i will comment this out so that i can run the rest of the program.
01:34
So let me comment all the previous the upper lines out.
01:45
Right.
01:45
And now let's get to this side where we've been asked what is the output, the following code.
01:52
So the first one we have print type in so you're converting the string to int and we are checking the type.
02:01
So let me run it...