Sorry but i reviewed all the related threads, even took the correction of 2*i//2 from Tom Mosher but cant seem to manage the right syntax (?) - any tips from Python experts appreciated:
My (wrong) code (preceding the error) is below:
{mentor edit: code removed}
File “”, line 19
return angles
^
SyntaxError: invalid syntax
But including the latest recommended i=k//2 code, it doesn’t work giving ‘Assertion Error’ – Note that I have tried every possible variation of TMosh recommendation – please any hint, tip appreciated.