i cant do it help
That error message doesn't have anything to do with the code that you are showing us. You need to show us your code if you want anyone to be able to help.
I agree with @albionsrefuge . The code you have posted simply contains the code that is already given on the codecademy site.
You post your code what you have written and only then we can see what mistake you have done while writing the code and someone would be able to help you coz if we simply give the code you wont be able to learn.