+ 2
How to use % ???
I still confuse with this thing ....
2 Respostas
+ 4
% is the modulo operator in python. Modulo calculates the remainder in a devision. For example is 14 % 3 = 2, since the closest (smaller) number from 14 that is devidable by 3 is 12. Thus you have a reminder of 14 - 12 = 2.
In python the operator works syntactically like plus, minus or multiplication.
0
Wew .... Thx Dudeee its very helping :)