DEV Community

Discussion on: What's the worst code you've ever written?

Collapse
 
jeremyf profile image
Jeremy Friesen

I hate to ask…but what is the full range of values for randint(0,16)?

Collapse
 
onlyphantom profile image
Samuel Chan

Heh great catch! that’s probably why it didn’t make it into production.

There should have been 1/17 chance!