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.
i know of one other which was the exact same length. what are the other ways tho?
EDIT: I found a way which is 1 char shorter
IDK if it was a joke, but there are 3 shorter ways to import.
my exact solution but i was golfing
This comment is hidden because it contains spoiler information about the solution
Humbled again.
No way -- no way.
This is just so neat
Before I read the comments here, I thought code wars was a bit laggy and wasn't displaying the complete code...
#11bfp_42v
python never ceases to amaze me
bruh is on another level, we cant beat him🔥🔥🔥.
Everyperson who saw your solution, i bet they come to comments section...🫣😂🤣
dat nga gotta chill
Oooooooooooooooohhhhh i get it hahahah
big brain!
This comment is hidden because it contains spoiler information about the solution
.format() is older as it was introduced in python 2.6 while f-string is newer and from python 3.6
F-strings are generally more compact than .format() and easier to decipher but the biggest difference is in the ability for expressions within the f-string to be performed at runtime. This allows for things such as calling functions, creating classes, and math operations.
Additionally, f-strings are faster than .format()
What's the difference between .format() and a f-string?
Loading more items...