On Wednesday, September 12, 2012 3:19:28 PM UTC+2, Libra wrote:
> > {False, True}
> Actually, I don't understand the output. Why it is both False and True?
Ok, I have understood now, I didn't noticed it was a set and not a list.
Regards
--
http://mail.python.org/mailman/listinfo/python-list
On Wednesday, September 12, 2012 3:11:42 PM UTC+2, Steven D'Aprano wrote:
> On Wed, 12 Sep 2012 05:48:09 -0700, Libra wrote:
> > I need to implement a function that returns 1 only if all the values in
> > a list satisfy given constraints (at least one constraint for each
>
On Wednesday, September 12, 2012 3:02:44 PM UTC+2, Jussi Piitulainen wrote:
> So you would associate each constraint with an index. You could
> maintain a list of constraints and apply it to the values as follows:
Yes, even though there could be more constraints for each value in the list (at
l
ful.
Could you please suggest me a suitable ways?
Thanks
Libra
--
http://mail.python.org/mailman/listinfo/python-list
mples) simplifying the rapid development of
such an application.
Thanks
Libra
--
http://mail.python.org/mailman/listinfo/python-list