Excel, 111 bytes
Formula, 60 bytes
(60 bytes)
=CONCAT(IF(A1:A32="","
",REPT(" ",A1:A32)&REPT("*",B1:B32)))
(51 bytes)
A1:B32={8,10;,;4,18;,;2,22;,;1,7;2,6;2,7;,;1,24;,;0,26;,;0,26;,;0,5;3,10;3,5;,;1,5;3,8;3,5;,;1,6;12,6;,;2,22;,;4,18;,;8,10}
Data in cells, 51 bytes
A | B | |
---|---|---|
1 | 8 | 10 |
2 | ||
3 | 4 | 10 |
4 | ||
5 | 2 | 22 |
6 | ||
7 | 1 | 7 |
8 | 2 | 6 |
9 | 2 | 7 |
10 | ||
11 | 1 | 24 |
12 | ||
13 | 0 | 26 |
14 | ||
15 | 0 | 26 |
16 | ||
17 | 0 | 5 |
18 | 3 | 10 |
19 | 3 | 5 |
20 | ||
21 | 1 | 5 |
22 | 3 | 8 |
23 | 3 | 5 |
24 | ||
25 | 1 | 6 |
26 | 12 | 6 |
27 | ||
28 | 2 | 22 |
29 | ||
30 | 4 | 18 |
31 | ||
32 | 8 | 10 |
Column A indicates the number of " "; Column B the number of "*". If column A is "" then add a line feed.