Task similar to this one. Take a string of ASCII characters and convert it to base-3 equivalents separated by a space.
For example:
Hello, world!
Should be converted to
02200 10202 11000 11000 11010 01122 01012 11102 11010 11020 11000 10201 01020
The output should only contain numbers with the same number of digits. Which separator to use is up to you.
This is a code-golf challenge so the shortest solution wins.
ABC
can the input be2102 2110 2111
(no zero padding)? Please clarify in the challenge, maybe with a couple more examples. Also, how strict is the output format? Do we really need to use a space as separator? Can there be another separator between the digits? \$\endgroup\$