Post

Python Developer
Python Developer@PythonDvz·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
46
14
141
14.4K
Sergei Kotov
Sergei Kotov@kotov_dev·
@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
2
0
22
944
Dearpupies
Dearpupies@dearpupies·
@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
0
0
1
482
Pranay
Pranay@pranaycooldev·
@Python_Dv A. 2 because % always gives the remainder.
English
0
0
0
39
🎈
🎈@_Only1Kelvin·
@Python_Dv 2. because that’s what remains 3 goes through 5.
English
0
0
0
43
Paylaş