Comment on I wish
KoboldCoterie@pawb.social 1 year agoGod, it’s so obvious, you can do it in only two lines of code.
if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;
Comment on I wish
KoboldCoterie@pawb.social 1 year agoGod, it’s so obvious, you can do it in only two lines of code.
if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;
Arbiter@lemmy.world 1 year ago
Obviously you couldn’t account for every number with only two lines.
ruckblack@sh.itjust.works 1 year ago
Maybe you couldn’t
scutiger@lemmy.world 1 year ago
Eventually, it would wrap onto a second line, wouldn’t it?
ruckblack@sh.itjust.works 1 year ago
When you run out of space, you just add a monitor to the right side. Honestly, it’s like you guys aren’t real developers.
bouh@lemmy.world 1 year ago
Only if your line is not long enough…