0
Reached string or bytes like object Error?
I have this string or bytes like Error. Can someone check the code? https://code.sololearn.com/cm1rlfP8ZkMF/?ref=app
1 Answer
+ 1
Line 15, inside your function, the return statement, it may have to be moved unfortunately, because once you hit the return statement, you return from the function/method, return leaves the current function call with the expression list (or None) as return value. You have a lot of code nested in your function after the return.