Hey there all,
i know this sounds kinda easy, but i was wanting the least verbose way to
get a True / False of a number being odd (not even)
thanks
shawn
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
nevermind, i found it.
4 %2 = 0 (even)
5 %2 = 1 (odd)
pretty simple
shawn
On 5/14/07, shawn bright <[EMAIL PROTECTED]> wrote:
Hey there all,
i know this sounds kinda easy, but i was wanting the least verbose way to
get a True / False of a number being odd (not even)
thanks
shawn
__