Rust Taskbook Level 8.6
Given a text file. Get the percentage of each character. Write the result to a new file.
Given a text file, get the first line from this file.
Given a text file, shuffle the lines in this file in random order.
Get a list of all possible lucky tickets. A ticket is a string of six digits, possibly with leading zeros. A ticket is lucky if the sum of the first three digits equals the sum of the second three digits. Write the resulting list to a file, each ticket on a new line.
Write a program that will generate the following array:
[
"x",
"xx",
"xxx",
"xxxx",
"xxxxx",
}