TheRavenDog wrote:Am I confused?
Does not +/⍳10 mean "apply the addition operator to all elements from 10 to 1"
1+2+3+4+5+6+7+8+9+10 = 55.
But NARS2000 returns 50.
TheRavenDog wrote:Thank you!
Incidentally, I wasn't trying be snarky when I asked "Am I confused?": I'm very new to APL and I'm often confused.
But I'm learning... slowly.
Users browsing this forum: No registered users and 4 guests