View Active Threads
View Today's Posts
Home
Forums
View New Posts
View Today's Posts
My Discussions
Unanswered Posts
Unread Posts
Active Threads
Mark all forums read
Staff List
Member List
Help
Calendar
Search
Statistics
Interpreter
IRC
Using the and operator to check if two values equal a third
Python Forum
Python Coding
General Coding Help
Thread Rating:
1 Vote(s) - 1 Average
1
2
3
4
5
Thread Modes
Using the and operator to check if two values equal a third
Mekire
Posts:
591
Threads:
26
Joined:
Sep 2016
Reputation:
42
#5
Oct-12-2016, 04:07 AM
I believe you can chain the
==
operator without an
and
with no issues:
if a == b == c:
Reply
Find
Reply
Messages In This Thread
Using the and operator to check if two values equal a third
- by
DBS
- Oct-11-2016, 11:58 PM
RE: Using the and operator to check if two values equal a third
- by
Yoriz
- Oct-12-2016, 12:06 AM
RE: Using the and operator to check if two values equal a third
- by
buran
- Oct-12-2016, 07:29 AM
RE: Using the and operator to check if two values equal a third
- by
metulburr
- Oct-12-2016, 12:15 AM
RE: Using the and operator to check if two values equal a third
- by
DBS
- Oct-12-2016, 04:03 AM
RE: Using the and operator to check if two values equal a third
- by
Mekire
- Oct-12-2016, 04:07 AM
RE: Using the and operator to check if two values equal a third
- by
nilamo
- Oct-17-2016, 06:48 PM
RE: Using the and operator to check if two values equal a third
- by
ichabod801
- Oct-17-2016, 08:39 PM
RE: Using the and operator to check if two values equal a third
- by
sparkz_alot
- Oct-17-2016, 09:00 PM
RE: Using the and operator to check if two values equal a third
- by
nilamo
- Oct-17-2016, 09:02 PM
RE: Using the and operator to check if two values equal a third
- by
volcano63
- Apr-18-2017, 07:51 PM
RE: Using the and operator to check if two values equal a third
- by
DBS
- Jan-17-2017, 06:18 PM
RE: Using the and operator to check if two values equal a third
- by
micseydel
- Jan-17-2017, 06:26 PM
RE: Using the and operator to check if two values equal a third
- by
buran
- Jan-17-2017, 06:26 PM
Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
find the sum of a series of values that equal a number
ancorte
1
616
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
1,000
Jul-10-2023, 02:41 AM
Last Post
:
deanhystad
is there equal syntax to "dir /s /b"
kucingkembar
2
1,115
Aug-16-2022, 08:26 AM
Last Post
:
kucingkembar
Can a variable equal 2 things?
Extra
4
1,650
Jan-18-2022, 09:21 PM
Last Post
:
Extra
Python greater than equal to comparison operator
Ilangos
4
2,585
Sep-26-2020, 03:53 AM
Last Post
:
buran
Check for specific values on screen
and2handles
2
2,497
Jun-17-2020, 05:24 AM
Last Post
:
and2handles
Not equal a dictionary key value
bazcurtis
2
2,043
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,513
Mar-20-2019, 08:01 PM
Last Post
:
stillsen
How many variables/values are limited to single assignment operator?
Prabakaran141
1
2,110
Sep-06-2018, 03:32 PM
Last Post
:
Larz60+
Misunderstanding with the “if” statement and “not equal”
scriptoghost
6
4,606
Jun-23-2017, 09:43 AM
Last Post
:
DeaD_EyE
Users browsing this thread: 1 Guest(s)
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Python Coding
-- General Coding Help
-- Data Science
-- Homework
-- GUI
-- Game Development
-- Networking
-- Web Scraping & Web Development
General
-- News and Discussions
-- Tutorials
---- Tutorial Requests and Submissions
---- Python Installation and Execution
---- Fundamentals
---- Common pitfalls and what to do
---- Web Scraping
---- Web Tutorials
---- GUI tutorials
---- Game Tutorials
---- Networking Tutorials
-- Code sharing
-- Code Review
-- Jobs
Forum & Off Topic
-- Board
---- Weekly Top Picks
-- Bar
User Panel
Messages
Log Out
My Profile
Pay your profile a visit
User Control Panel
Do some changes on your profile
My Messages
View private messages
unread
Avatar
Change avatar
Signature
Change signature
Announcements
Announcement #1
8/1/2020
Announcement #2
8/2/2020
Announcement #3
8/6/2020
Login to Python Forum
Enter your details to login to your account:
Remember me
Lost Password?
Login
Don't have an account yet?
Sign Up!
Linear Mode
Threaded Mode