Lynn Pettis (8/27/2014)
Eirikur Eiriksson (8/27/2014)
keshabsingh (8/27/2014)
Thanks Eirikur Eiriksson!.Your attempt is not bad. πThe approaches other users presented are more robust and accurate. Thanks anyway.
I guess that now it's your turn to make an effort.
π
The OP should have posted their attempt first before anyone else jumped in with potential code for the problem.
I agree, as guilty as I am, couldn't resist the inaccuracy in the initial post. Guess I've been tainted by the Brits and they'r ironic sarcastic humour. We should maybe turn this into a contorted code competition?:w00t:
π