Post

@Python_Dv Answer: A) 2
The % modulo operator finds the remainder!
› 5 divided by 3 = 1 with remainder 2
› x % y returns that remainder
› 5 % 3 = 2
For beginners: Modulo is super useful! Check if even: n % 2 == 0. Check if divisible by 5: n % 5 == 0. Great for patterns!
English

@Python_Dv A. 2
x = 5
y= 3
This operator '%' give us the residu of the operation, the residu of 5:3 is 2. Mathematically 5=3(1) +2, so the answer is 2.
English


































