Error in Python code

make sure you have your libraries and packages correctly installed and regarding the error python is telling you that in that particular list there is no existence of an object named shape so make sure the list contains that object
 
make sure you have your libraries and packages correctly installed and regarding the error python is telling you that in that particular list there is no existence of an object named shape so make sure the list contains that object
All required libraries are installed and imported. Lists do not have an attribute shape, true, but the code seems to use numpy arrays.
 
Can you spot where the problem is, and what is the fix?
 
habari hapa...kama kuna mtu ni expert wa coding by python tuwasiliane kuna kazi ya muda 0755079111
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…