Question: Task 1: Equality and Simple Relational Operators Recall thatis the assignment operator. It is used to assign an lvalue to the expression to its right,
Task 1: Equality and Simple Relational Operators Recall thatis the assignment operator. It is used to assign an lvalue to the expression to its right, which may be a literal, a function, an equation, or something else. When we need to ascertain whether values are equal in Python, we can't use the assignment operator so we use two equal signsrather than one. If we want to know whether a value isn't equal to something. we use !- which means not equal. If we want to know whether a value is larger or smaller than another value, we use >or
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
