Jupyter unexpected error

Do you have some sort of weird character in that line or the line above or below? It’s recombining that line.
Did you try removing just that line? Re-typing that line?
Did you do anything complex to try and customize something?

Sharing a minimal reproducible example. At least some code would help take this discussion in the right direction. See Getting good answers to your questions.