Which of the following is NOT a valid comparison operator in Python?
Correct answer
A. =
18 views
A. =
18 views
In Python, the '=' operator is used for variable assignment, not for comparison. Comparison operators include '==', '!=', '<', '>', '<=', and '>='.
Not sure why the answer is A? Ask here and get an explanation.