Re: Multiple comparisons in a single statement

2020-03-16 Thread Stephen Tucker
OK. You are right. I was misleading. I am sorry for wasting your time. Thanks you for helping me to express myself. Stephen. Virus-free. www.avast.com

Re: Multiple comparisons in a single statement

2020-03-13 Thread Chris Angelico
On Fri, Mar 13, 2020 at 8:36 PM Stephen Tucker wrote: > > *Chris:* Thank you for your confirmation. > > *All: *For the record, I meant that the tuples are all the same. The > tuples I have in mind contain strings, so the issue regarding the > "equality" (or otherwise) of 0 and 0.0 does not aris

Re: Multiple comparisons in a single statement

2020-03-13 Thread Stephen Tucker
*Chris:* Thank you for your confirmation. *All: *For the record, I meant that the tuples are all the same. The tuples I have in mind contain strings, so the issue regarding the "equality" (or otherwise) of 0 and 0.0 does not arise in my case. Stephen. To answer the question On Thu, Mar 12

Re: Multiple comparisons in a single statement

2020-03-12 Thread John Pote
On 12/03/2020 18:08, Chris Angelico wrote: On Fri, Mar 13, 2020 at 4:55 AM Stephen Tucker wrote: A quickie (I hope!). I am running Python 2.7.10 (and, yes, I know, support for it has been withdrawn.) This is the same in Python 3. I have three tuples that have been generated separately and

Re: Multiple comparisons in a single statement

2020-03-12 Thread MRAB
On 2020-03-12 18:08, Chris Angelico wrote: On Fri, Mar 13, 2020 at 4:55 AM Stephen Tucker wrote: A quickie (I hope!). I am running Python 2.7.10 (and, yes, I know, support for it has been withdrawn.) This is the same in Python 3. I have three tuples that have been generated separately and

Re: Multiple comparisons in a single statement

2020-03-12 Thread Chris Angelico
On Fri, Mar 13, 2020 at 4:55 AM Stephen Tucker wrote: > > A quickie (I hope!). > > I am running Python 2.7.10 (and, yes, I know, support for it has been > withdrawn.) This is the same in Python 3. > I have three tuples that have been generated separately and I want to check > that they are ident

Multiple comparisons in a single statement

2020-03-12 Thread Stephen Tucker
A quickie (I hope!). I am running Python 2.7.10 (and, yes, I know, support for it has been withdrawn.) I have three tuples that have been generated separately and I want to check that they are identical. all I want to do is to terminate the program and report an error if all three are not identic