I have checked my code and tried running it several times , even after getting a perfect output it is showing me some error and not letting me to proceed further. Please check.
Attached a screen shot for your reference.
Don't worry your code is correct. There seems to be a trend with people getting errors for no reason. Changing your browser usually solves it. Code academy and chrome don't always work so well together.
You're code is 100% perfect, however, I see that you are using Chrome,try FireFox, or another browser as Codecademy hasn't been working well on Chrome lately.[EDIT: @oscartbeamish beat me to it ]