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.
welcome to the ternary operator club!! clean code at its finest!! :)
I'm so happy that my solution is the same! Thank you :)
You just chose to post under a solution that has no c at all, but seeing other solutions, it's a short form of character or char.
I'm new to python and I am curious to why yall use c? What is c?
did the same, very neat!
This comment is hidden because it contains spoiler information about the solution
don't know. just wanted to do it with the least amount of code i could, mainly time's sake
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
could be
for some reason I didn't think of using the int() funtion within the if statement. I feel like an idiot lmao
Mine was pretty much the same I just used s instead of result
Are you me?
This comment is hidden because it contains spoiler information about the solution
I doubted you so i make a script to test that. and in fact using the for is like more than 2x faster. as you can see in:
https://github.com/n4ndoDev/mystuff/blob/main/tm.py
Loading more items...