], name= None
SyntaxError: invalid syntax

I can not figure out what causes this Problem and I´m unsure if it is even caused by my own code at all, because I didn’t encounter the same problem with the exercises before that, which are quite similar in nature

It would help if you post a screen capture image that shows the entire context of the error.

Syntax errors are usually on the previous lines of code from where the error is detected. This is because the parser only throws the error once it’s seen enough code to realize it doesn’t make sense.