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.
For simple statements like this, it's quite pythonic to put it on one line. Even for more complicated statements with ifs and for loops and generators, it is still often pythonic to put it on one line.
YMMV in other languages.
I don't know about industrial programming, but here it is often done like this
Q: How conventional is it to have this on one line over multiple? Apologies if this is a silly question - still learning. :)
I see. Thank you.
This comment is hidden because it contains spoiler information about the solution
After ten years, I guess nobody is taking your suggestion. Closing.
"prefix" is completely unambiguous.
Approved kata are generally not reranked. Enjoy the cheap points.
Who made it first it is so smart i feel =)
И вывод будет не верный. Сравнивать числа надо в int
This comment is hidden because it contains spoiler information about the solution
And why is that?
Nope, I think the first comment's correct.
You can't multiply an integer by a string, but you CAN multiply a string with an integer.
nice variable names "exessss, oooohhhhs" hahahahahah
this is the way.
Loading more items...