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.
the bash shell interprets {1...20} to be a continous sequence and fills in the numbers between
This comment is hidden because it contains spoiler information about the solution
能解释一下吗
smart boi
I'm new to bash.
How does: result="$word $result"
add the word in reverse? I don't understand how this was done without doing the for loop in reverse order.
I don't think the test cases should have passed this as each count is not on a separate line?
The following would have worked, ignoring the while-loop requirement.
printf "Count: %s\n" {1..20}
the code is not efficient, takes long time to finish
try a way to get rid of the while loop
Clever but the kata specifically said use a while loop.
Excuse me!. What is ' . ' in line 3 ?. Please!
How does this work?