On 01/12/2013 05:50, Reuben wrote:
Hi,

How can we write a logic for detecting the number 2 in  range from 1 to 100

Regards,
Reuben


Paper and pen or pencil should be perfectly adequate for this task. Alternatively, open an editor, type some code, run it, if you have problems ask another question here, preferably one that makes sense :)

Unless of course your question above is to be taken literally, in which case Mr. K'Aprano has already answered.

--
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to