On 9/29/2015 2:04 PM, Random832 wrote:
On Tue, Sep 29, 2015, at 16:32, Mark Lawrence wrote:
not (0 <= x <= 10)Yuck.How about x not in range(11)?
x = 5.5 Emile -- https://mail.python.org/mailman/listinfo/python-list
On 9/29/2015 2:04 PM, Random832 wrote:
On Tue, Sep 29, 2015, at 16:32, Mark Lawrence wrote:
not (0 <= x <= 10)Yuck.How about x not in range(11)?
x = 5.5 Emile -- https://mail.python.org/mailman/listinfo/python-list