To determine whether x is even or odd, we can use the mod operator to determine whether x is divisible by 2. If the result of x % 2 is 0, then x is even otherwise, it is odd. To re-write this if ...
# Task 1: Change bonus to True on line 13 and observe the output. # Task 2: Uncomment line 21. Write the code line 23 onwards using the OR operator. # Using logical ...