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.
Oh come on. How are you going to have a kata to print out all primes less than n and have n be a small number.
Hi,
We already have far too much of that kind of kata (you already crossed path with those, I guess, so why create one more??)
In addition:
You should unpublish it very quickly, before it just gets retired (becasue it will)
cheers
EDIT:
if the names is an empty list, then f will be "-1". I think this will cause problem
You are welcome. Happy coding :)
Thanks for the answer.
This comment is hidden because it contains spoiler information about the solution
what is meant by this line of code.
I tried to execute in my IDE didnt get any result.
THanks for the advice.
@Chris0lsen,
map
andfilter
are present in Python by default, whilereduce
is a part offunctools
module only in Python 3.@nagendra226, want to learn? Then google stuff, and use it - nobody's going to spoonfeed you, and nobody will help you with dumb questions all the time (especially, when google can find approximately 81,400 pages in just 0.43 seconds if you search for "what is functools").
I am beginner in Python. I want to learn more and more. How can I learn all these libraries and implement. How can I practice. Please help and guide me.
functools is a PYthon library that gives the user access to functional programming methods such as map, filter and reduce
How can I use more of lambda?
What is functools
Thank you Avanta so much. It is working fine now.
Sorry did I do something wrong.
Loading more items...