Box the compass: Difference between revisions

Content added Content deleted
(J: include compass index in result)
m (J: update explanation for updated code)
Line 68: Line 68:
1 North 354.38 360 365.62</lang>
1 North 354.38 360 365.62</lang>


Here, I compute the name for each of the numbers, and then find the unique list of names represented in each row (which is always only one name) and convert the whole thing to characters.
Here, I compute the name (and index) for each of the numbers, and then find the unique list of names (and indices) represented in each row (which is always only one name and only one index) and convert the whole thing to characters.


=={{header|Python}}==
=={{header|Python}}==