Loops improve your code (solution)

Exercise
Output solution
Rows: 6 Columns: 1
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (1): X1

ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
[1]  0.00 41.18 43.43 53.57 33.73 37.00