Sparkline in unicode: Difference between revisions

m
→‎{{header|Python}}: (Preamble minor edit)
(Wrapped '▁▂▃▄▅▆▇█' in code tags in the task preamble. (Renders better in some browsers))
m (→‎{{header|Python}}: (Preamble minor edit))
Line 1,811:
If a lower bound whose value exceeds that of the given data point can be found, we just use the index of that bound.
 
If the search result is 'not found' (Nothing), then we use the highest (nominally 8th, or index 7) block.
 
<lang python>import re
9,655

edits