Sparkline in unicode: Difference between revisions
Content added Content deleted
m (→{{header|Python}}: (Added to preamble)) |
|||
Line 1,653: | Line 1,653: | ||
To vary the approach, the block index value is derived here as an option type, |
To vary the approach, the block index value is derived here as an option type, |
||
in a search over 7 zero-indexed bounds [0..6]. |
in a search over 7 zero-indexed lower bounds [0..6]. |
||
The index used is either just that of the first bound |
The index used is either just that of the first bound which exceeds the given data value, |
||
or 7, if the search result was 'not found' (Nothing). |
or 7, if the search result was 'not found' (Nothing). |