On Oct 5, 2014 6:07 PM, "Seymore4Head" <Seymore4Head@hotmail.invalid> wrote: > > For the record, I don't want a hint. I want the answer. > I see a practice question is similar to this. > 15 <= x < 30 And it wants a similar expression that is equivalent.
Maybe 30 > x >= 15 ? Seems more "similar" to the original expression than the other possibilities. As to how to try it out, bring up the Python prompt, assign various values to x, and keep evaluating the possibilities. To simplify evaluation off a bunch of alternatives, consider defining a function which takes x add a parameter and print out the various expression values. I'd give a concrete example, but don't has a prompt available on my phone... Just my 2ยข... Skip
-- https://mail.python.org/mailman/listinfo/python-list