Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
repeat n 99[if not100[unless find form n"2"[print n]]
Try it online!Try it online!
Changed 100 to 99Uses unless instead of if not, after Arnauld's JS solutionbecause why not? :)
unless
if not
repeat n 99[if not find form n"2"[print n]]
Try it online!
Changed 100 to 99, after Arnauld's JS solution
repeat n 100[unless find form n"2"[print n]]
Uses unless instead of if not, because why not? :)
repeat n 100[if99[if not find form n"2"[print n]]
repeat n 100[if not find form n"2"[print n]]