The problem lies in this specific line: br,co,rg=d() You used the names "br", "co" and "rg" for the return values of d(). Changing it to "u, k, c = d()" should solve this specific error. I would recommend using an IDE/Code Editor such as Visual Studio Code, as it would've pointed out the mistake for you :)
The problem lies in this specific line:
br,co,rg=d()
You used the names "br", "co" and "rg" for the return values of d(). Changing it to "u, k, c = d()" should solve this specific error. I would recommend using an IDE/Code Editor such as Visual Studio Code, as it would've pointed out the mistake for you :)