Python Forum
Using the and operator to check if two values equal a third
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the and operator to check if two values equal a third
#2
The first one would work.
The second would always be true regardless of value a if b and c where equal.
The third would be true if b was either a or c
Reply


Messages In This Thread
RE: Using the and operator to check if two values equal a third - by Yoriz - Oct-12-2016, 12:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  find the sum of a series of values that equal a number ancorte 1 539 Oct-30-2023, 05:41 AM
Last Post: Gribouillis
  Check if two matrix are equal and of not add the matrix to the list quest 3 893 Jul-10-2023, 02:41 AM
Last Post: deanhystad
  is there equal syntax to "dir /s /b" kucingkembar 2 1,041 Aug-16-2022, 08:26 AM
Last Post: kucingkembar
  Can a variable equal 2 things? Extra 4 1,550 Jan-18-2022, 09:21 PM
Last Post: Extra
  Python greater than equal to comparison operator Ilangos 4 2,490 Sep-26-2020, 03:53 AM
Last Post: buran
  Check for specific values on screen and2handles 2 2,432 Jun-17-2020, 05:24 AM
Last Post: and2handles
  Not equal a dictionary key value bazcurtis 2 1,975 Dec-11-2019, 11:15 PM
Last Post: bazcurtis
  sort lists of lists with multiple criteria: similar values need to be treated equal stillsen 2 3,337 Mar-20-2019, 08:01 PM
Last Post: stillsen
  How many variables/values are limited to single assignment operator? Prabakaran141 1 2,066 Sep-06-2018, 03:32 PM
Last Post: Larz60+
  Misunderstanding with the “if” statement and “not equal” scriptoghost 6 4,492 Jun-23-2017, 09:43 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020