Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

results not returned due to error in name_list.sort #1

Open
kangeugine opened this issue Aug 10, 2021 · 0 comments
Open

results not returned due to error in name_list.sort #1

kangeugine opened this issue Aug 10, 2021 · 0 comments

Comments

@kangeugine
Copy link

name_list.sort(lambda x,y: cmp(len(x), len(y)))

no results are returned due to an error in above line
commenting out this line of the code returns results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant