I cant submit my assignement

I think that means there is something damaged in your notebook beyond just the code that you added. Did you modify it using any tools outside of the Coursera website?

Probably right best thing to do would be to use the procedure on the FAQ Thread to get a clean copy and then very carefully “copy/paste” over just your completed code segments from your current (putatively) damaged copy.