samuelmarina / is-odd

Is a number odd?
172 stars 22 forks source link

69% True #3

Open Manas1820 opened 3 years ago

Manas1820 commented 3 years ago

This code will work for all the numbers and has a 69% chance of showing the correct output if the number is greater than 1 million.

Looks like in the is-even version you never got lucky with 69. This time let's give @samuelmarina the benefit of d.....

[Edited] Doubt .