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.
lmao
This is my one-on-one solution(
def reverse_string(string):
Splitting a string/list with [::-1] reverses it
return string[::-1]
I know that there is a kata where you have to take a list with nested lists inside and flatten them.
But, I have not seen a kata like this.
thats short, make it shorter
Did not know about the title method before this. Kinda handy so cheers!
Honestly, well done. I get such tunnel vision sometimes I forget that there are even simpler solutions. lol
This is literally the same thing as the 7 kyu kata called "Fibonacci"
https://www.codewars.com/kata/57a1d5ef7cb1f3db590002af