+ 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???
4 Antworten
+ 5
https://www.sololearn.com/discuss/424336/?ref=app
for modulus, read answers on that
+ 3
7%(5//2)=7%2=1
+ 2
Modulo is just the remainder of dividing. So, for example, 5%2 is the remainder of 5/2, which is 1.