Hi Everyone,
i am trying to display numbers from 105 but the output should be : {105,110,115,120,,125,130,135,140,145,150,151,152,153,154,155,156,157,158,159,160,165,170,175,180,185,190,195,200},
i have tried but after 105 iam getting 115,Here sharing my code
a!localVariables( local!data: 101 + enumerate(100), index( local!data, where(like(touniformstring(local!data), "*5*")) ))
Thank You In Advance
Discussion posts and replies are publicly visible
Nice challenge, but for what purpose? Below my approach.
{ 105 + enumerate(9) * 5, 150 + enumerate(11), 160 + enumerate(9) * 5, }
Unknown said:Nice challenge
indeed.
i was, also, wondering if this could be reduced to something more elegant/simple and I just came up with this:
(enumerate(20) + 21) * 5
Though of course a lot depends on unfilled assumptions - how long of a list do we need? Are we assuming it ends at "200" or is that just an example ending point?