5

Something like this:

if mod(i,11) = 1,2,3,4,5...
     #do something
else
     #do something else
end 

I dont want to type out each condition or make a for loop, I want to keep the syntax as simple as possible.

Frosty
  • 61
  • 4

1 Answers1

0

here is the answer to the question

if mod(i,11) ∈ [1,2,3,4,5]
Frosty
  • 61
  • 4