Feb-10-2021, 09:37 PM
The return statement in the convert function is indented too far. Align it with the if/else and it will work as expected.
Why not getting return on line #16?
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Read characters of line and return positions | Gizzmo28 | 2 | 2,082 |
Nov-04-2020, 09:27 AM Last Post: perfringo |
|
Return JSON records in single line using python 2.7 | anandmn85 | 0 | 2,852 |
May-14-2018, 09:16 AM Last Post: anandmn85 |