A handy way to create a list with the same value repeated.
1 2 3 | |
This trick is also nifty for plotting data, where you need all points on the y-axis without a value to be a given number (usually 0).
1 2 3 4 5 6 7 8 | |
A handy way to create a list with the same value repeated.
1 2 3 | |
This trick is also nifty for plotting data, where you need all points on the y-axis without a value to be a given number (usually 0).
1 2 3 4 5 6 7 8 | |