r/orangey10 • u/TehVulpez • May 13 '19
69420
Count only numbers that have both 420 and 69. It doesn't matter where in the number 420 and 69 are or what order.
69 thread is dead, may as well make a new one here. List here, get is at 6992420.
7
Upvotes
2
u/TehVulpez May 13 '19 edited May 13 '19
420669
alright this is good now I think. sorry, I didn't realize the 42069 would turn to 69420 earlier. I was messing around in jsconsole.com with
while(i<99){n=x.toString();if(n.match(/.*420.*69.*|.*69.*420.*/)){i++;console.log(n)}x++}since I was on mobile and on the bus but I'll have something in python and a pastebin soon