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.
yoo so did i
I can´t beleave this kata has this short solution. You are awesome.
nice
Did the exact same program, only the variable 'f' was 'name' in mine. Congrats to all who finished it :D
I dont know what you did there.. but i will try it
i is used a lot, as a shorthand for index, that is the position of an item in a sequence.
here we are iterating on the items of the friend list directly, not on their index.
So there is no reason to name the variable i, f as a shorthand for friend is better.
nice
u rly dont want to prove that name is a letter?
This comment is hidden because it contains spoiler information about the solution
List comprehension are way of writing concise code. If you understand list comprehension then this is very clear
yea im confused how this passed test cases for strings with numbers in them. maybe i didnt read the description properly
shhhhhhhh
This comment is hidden because it contains spoiler information about the solution
Boom! Started learning Python today. Just completed the "Tour" chapter of a Python eBook.
I learnt about list comprehensions.
I do have programming experience though. Been "JavaScript"n for years.
Clean code. Loop variable names doesn't always have to be "i".
Loading more items...