SyntaxError: invalid syntax builder

image
I don’t know why i have this error with this code:
image

Thanks for any help or ideas.

Hello Selma,

except is part of try/except This will not solve your problem of an invalid comparison.

Best wishes Jens