Idiomatically determine all the characters that can be used for symbols: Difference between revisions

Content added Content deleted
m (removed a blank line.)
Line 16: Line 16:
* [[Idiomatically_determine_all_the_lowercase_and_uppercase_letters|Idiomatically determine all the lowercase and uppercase letters]].
* [[Idiomatically_determine_all_the_lowercase_and_uppercase_letters|Idiomatically determine all the lowercase and uppercase letters]].
<br>
<br>

=={{header|Perl 6}}==
Any Unicode character or combination of characters can be used for symbols in Perl 6. here's some counting rods and some cuneiform:
<lang perl6>sub postfix:<𒋦>($n) { say "$n trilobites" }

sub term:<𝍧> { unival('𝍧') }

𝍧𒋦</lang>
{{out}}
<pre>8 trilobites</pre>


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