>>>print (‘wtf!!??!?’) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

>>>print (‘wtf!!??!?’)

>>> 20 // 6 3 >>> 1.25 % 0.5 0.25 I dont understand modules and what is % mean? How to resolve 7%(5//2)? I’ve got 7%2, but what else???

2nd Oct 2017, 10:17 PM
RussianRoulette
RussianRoulette - avatar
3 Answers
+ 5
https://www.sololearn.com/discuss/424336/?ref=app for modulus, read answers on that
2nd Oct 2017, 10:41 PM
Wen Qin
Wen Qin - avatar
+ 3
7%(5//2)=7%2=1
3rd Oct 2017, 12:17 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Modulo is just the remainder of dividing. So, for example, 5%2 is the remainder of 5/2, which is 1.
3rd Oct 2017, 12:38 AM
Casey Hampson
Casey Hampson - avatar