Makes sense from a mathematical point of view (combining different ranges is easier) but I prefer the more intuitive Perl way to do it.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^3: Perl vs. Python for prime numbers
by LanX
in thread Perl vs. Python for prime numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |