[Tutor] Occurrence of number 2 in a range from 1 to 100
Mark Lawrence
breamoreboy at yahoo.co.uk
Sun Dec 1 12:45:29 CET 2013
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
More information about the Tutor
mailing list