Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It's unnecessary to sort by integers, so you could drop the
int()
function.Please scroll down and look for a question by user BilboSwaggins and the reply thereto by user acaccia. The syntax is different for Python 3.
Goddamit
Didn't have a good night's rest, guess it's time to switch off all screens for some hours.
Thank you kind sir.
this code worked in python 2. You're using python 3, that's the root of the problem you're facing. (filter returns a generator, in python 3, not in python 2)
Blind4Basics, actually the only tiresome comment is yours. Here is one of MANY kata's where the one liner has been upvoted to be the best but actually performs extremely poorly: https://www.codewars.com/kata/54b42f9314d9229fd6000d9c
It has nothing to do with training harder, it has to do with dismissive and poisonous attitudes like yours.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
man that's smart
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I am too new to Python to even start understanding a fraction of how this code works. It certainly looks a lot more compact than the code I wrote, but is it also more efficient than code written with explicit for loops and if statements, assuming that this code is in its optimum form?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...