News for hackers. Stuff that matters.
Re:X = Number of Successes, Y = Number of Failures by caffeinewriter on Tuesday April 09, 2013 @11:32PM (#5523059)
I'd add an elif (or else if, depending on if your language can handle that shorthand) checking the total number of X+Y, as well as if X>Y, with a statement that says "Don't be afraid to fail."

But that's just me.

Re:X = Number of Successes, Y = Number of Failures by aashaykumar92 on Tuesday April 09, 2013 @11:36PM (#5523076)
What would X+Y represent?? And "Don't be afraid to fail" would be a nice add-on for sure!
Re:X = Number of Successes, Y = Number of Failures by skndr on Wednesday April 10, 2013 @01:19AM (#5523349)
Total number of tries. If you've only succeeded or failed a handful of times, you might not be trying enough ways.