2 changed from say to put
source | link

Perl 6, 22 bytes

sayput grep {!/2/},1..100

Try it online!Try it online!

There's probably a better way to do the code block, but I couldn't find a regex adverb to invert the match

Perl 6, 22 bytes

say grep {!/2/},1..100

Try it online!

There's probably a better way to do the code block, but I couldn't find a regex adverb to invert the match

Perl 6, 22 bytes

put grep {!/2/},1..100

Try it online!

There's probably a better way to do the code block, but I couldn't find a regex adverb to invert the match

1
source | link

Perl 6, 22 bytes

say grep {!/2/},1..100

Try it online!

There's probably a better way to do the code block, but I couldn't find a regex adverb to invert the match