Unit 4 typos - variable name lv instead of ld

In the example the variable used is ‘lv’ but in the code the variable is mentioned as ‘ld’

As you can see, we are getting an error. Specifically, it says: name ‘lv’ is not defined. As we have previously said, the variable ld has been defined inside the function, so it is local to the function. This means that it CANNOT be used outside the function.

1 Like

Fixed. Thanks for the feedback @anandhms

1 Like