Python Forum
Boolean: Anybody know why is this True?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boolean: Anybody know why is this True?
#1
a, b, c = 9, 10, 11

Print ( 5>a and b<8 or 20>c>9)
>>> True
Reply


Messages In This Thread
Boolean: Anybody know why is this True? - by LilD - Feb-05-2022, 09:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to parse a list of boolean columns inside a list and return true values Python84 4 2,174 Jan-09-2022, 02:39 AM
Last Post: Python84
  Returning True or False vs. True or None trevorkavanaugh 6 9,414 Apr-04-2019, 08:42 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