Skip to content

2013-1: Seems a Bit Odd To Me

Write a dfn to produce a vector of the first n odd numbers.

Examples:

      (your_function) 10
1 3 5 7 9 11 13 15 17 19
      (your_function) 1
1
      (your_function) 0 ⍝ this should return an empty vector
your_function ←

Solutions

Video Thumbnail YouTube

Chat transcript Code on GitHub