169k views
2 votes
In Python the __________ symbol is used as the not-equal-to operator.

a. ==
b. <>
c. <=
d. !=

User Chanan
by
8.9k points

1 Answer

5 votes

Final answer:

In Python, the != symbol is used as the not-equal-to operator, which compares two values and returns True if they are not equal.

Step-by-step explanation:

In Python, the not-equal-to operator is represented by the != symbol. This operator is used to compare two values and returns True if they are not equal, otherwise, it returns False. For example, the expression 5 != 3 would evaluate to True because 5 is not equal to 3.

User Shrikant
by
8.1k points