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.
this would be much easier and less confusing, if we'd use "_" instead of " " characters.
But we don't want a string here, we want a single char.
NIcely done, one thing that's good to know:
Inclusive ranges can be created like this 0..=10
i.e.
will print
In rust we have a handy little macro that manages these things ((x + 48) as char) for us.
format! accepts the same arguments as print!, but it yields a string rather than printing to stdout
I think you can use a simple array here, which saves a call to malloc