Hi bro If i%2==0: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi bro If i%2==0:

Hi bro If i%2==0: This % mining bro 🤔

26th Sep 2021, 4:55 PM
Bharathi BharathiR
7 Answers
26th Sep 2021, 4:58 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 5
I think you want to ask the meaning of %, right? If so, % gives remainder For example, 4%2=0 3%2=1
26th Sep 2021, 4:59 PM
Myo Thuzar
Myo Thuzar - avatar
+ 4
% is the modus operator. It returns the remainder of a division (Is this your question?)
26th Sep 2021, 4:58 PM
Lisa
Lisa - avatar
+ 1
Thanks man
26th Sep 2021, 5:02 PM
Bharathi BharathiR
+ 1
Shortcut level bro
27th Sep 2021, 5:33 PM
Sayyam Jain
Sayyam Jain - avatar
+ 1
% is called the Modulus Function Simply it is the Reminder of any division. For example: If we divide 14 by 5, the remainder will be 4 which is written as 14%5=4
28th Sep 2021, 5:59 AM
Chandan Ghosh
Chandan Ghosh - avatar
0
🙃
26th Sep 2021, 4:59 PM
Bharathi BharathiR