Question Detail
Question
In Python, what is the crucial difference between the operators
= and ==?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 14, 'Mistake #1: = vs ==', explicitly states: '
= is for Assignment (giving a value).', and '== is for Comparison (checking a value).'
Hint
One operator gives a value to a variable, the other checks if two values are the same.