In Julia, the [<code>1 <= n < 65</code>] range can be created using the <code>1:64</code> range expression.
In Ruby, the equivalent range expression would be <code>1..64</code>.
Here are examples of creating the range in Julia and Ruby:
19 chars2 lines
main.rb19 chars2 lines
Please note that in both Julia and Ruby, the ranges are inclusive of the start value and exclusive of the end value.
gistlibby LogSnag