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

25th Aug 2020, 10:55 AM
Erion Leka
Erion Leka - avatar
1 Réponse
+ 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.
25th Aug 2020, 11:10 AM
Steven M
Steven M - avatar