Aahz wrote:
In article <zkxkl.34048$sp5.7...@text.news.virginmedia.com>,
Catherine Heathcote <catherine.heathc...@gmail.com> wrote:
But I just cant find it. How do I do an or, as in c/c++'s ||? Just
trying to do something simple, the python equivilent of:
if(i % 3 == 0 || i % 5 == 0)
if i % 3 == 0 or i % 5 == 0:
You may find it worthwhile to quickly step through everything in the
standard Python tutorial, it covers lots of stuff like this.
I did, though perhapse a little to quickly! lol
--
http://mail.python.org/mailman/listinfo/python-list