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.
That a very interesting solution you have provided here, really made me think more efficient
good answer
This is a good example of why it's important for a Python, and coding, noob such as myself, to go beyond the glitter.
I want to thank all those who commented concerning runtime, etc. It's helps a noob like me to stay grounded.
and using .lower introduces error. i think this person just asked chat gpt and threw it up bc this is what gpt wrote me when i asked hahaha
This comment is hidden because it contains spoiler information about the solution
how is this clever?
Did exactly that. Been using codewars for like a week and I already can code a solution in a single line just by watching others' solutions
That does make sense that it's slower, this code loops over EVERY LETTER.
Do it yourself: click on
fork
, try and print what you want. This is how you will learn.This is great...can someone break down how it works?
This is a nice one liner, I didnt think of that :), well done
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 understand what you write, but why would replace work 50x faster? I was told that generators are pretty fast usually. Could you redirect me to some info about it?
This comment is hidden because it contains spoiler information about the solution
Loading more items...