Get angles function

Invalid syntax received for line 23 in get_angles function

Please post a screen capture image showing the entire error message.

As a general note, if you have trouble finding a syntax error, that probably means you are looking in the wrong place. Look at the previous line to make sure there is not something incomplete about it, e.g. missing close paren …

“But the light is better here …” as the old joke has it.