Python Programming - Operators - Discussion
Discussion Forum : Operators - General Questions (Q.No. 18)
18.
Which of the following is an example of a comparison operator?
Answer: Option
Explanation:
The ==
operator is a comparison operator in Python, used to check if two values are equal or not.
The other options (+
, or
, and and
) are arithmetic operator, logical operator, and logical operator respectively.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers