Liutauras Vilda wrote:Welcome to the Ranch.
Please show us how far have you got. Please post the code if you wrote already some, or write down the algorithm steps you designed on a piece of paper.
Logan Cherry wrote:(Hint: You may NOT USE any 'if' statements.)
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupery
Anand Hariharan wrote:
Logan Cherry wrote:(Hint: You may NOT USE any 'if' statements.)
I find that rather silly as a requirement and bizarre as a "Hint".
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupery
Anand Hariharan wrote:To a beginner to programming, would you really teach exception handling and KeyError in dictionary access, before you teach if statement?
Also, for beginners who are too lost to even formulate a question, I often give away free programming tutoring on my website.
Since the question was asked on Tuesday, and it was Monday (at least in my time zone) by the time you posted your solution, I cannot see that posting a complete answer can do any harm.Roger Frybarger wrote:. . . an acceptable amount of help. . . .
Campbell Ritchie wrote:Since the question was asked on Tuesday, and it was Monday (at least in my time zone) by the time you posted your solution, I cannot see that posting a complete answer can do any harm.
Also, for beginners who are too lost to even formulate a question, I often give away free programming tutoring on my website.
That sounds like a good ideaRoger Frybarger wrote:. . . old posts that don't seem to include a conclusion . . .
Slime does not pay. Always keep your tiny ad dry.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|