ICC-P Exercise - Assignments and Operator Precedence
Completion requirements
Read the lecture slides ICC-P-Lecture02-NumbersBooleans, starting from Slide 21 and continuing to the end.
Pay particular attention to the different assignment operators. Try coding the examples provided in the slides, then modify the operators and observe how the results change.
Next, review the table showing operator precedence. Work through the given examples first with pen and paper, and then verify your answers by running the corresponding Python code.
Last modified: Thursday, 17 September 2026, 4:54 PM
