New course! Every coder should learn Generative AI!
Try a free lesson0
What does % mean?
2 Answers
+ 2
It means modules.
Its like it gives the remainder of a division.
For eg:
1. 12%3 = 0
2. 14%5 = 4
0
11 | 2
- |---
10 | 5
----- |
= 1 |
11 % 2 = 1
11 / 2 = 5