I keep getting an error when I run the code below. This is supposed to be an example code so I am not sure why this code is getting this error.
It has something to do