Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 logic in a list
i have a list (or tuple) of logic settings. the length varies. any items set to None mean that item is not set and does not determine true or false. otherwise, the expected values are either True or False (bool). i need to know if the list (or tuple) has both a True and a False (a conflict). and if not, i need to know what true/false value the list (or tuple) has, if any. are there any tools that are part of Python that can do this? if not, i'll need to include code to do this.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
You'll need to include code. This is not part of the standard library.

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)