i don't understand about : print (20%6)
4/27/2021 4:56:37 AM
ឈៀង សៀងហេង4 Answers
New Answerin this context the % is used as the modulo operator. it is the remainder of division. 6 fits in 20 three times. three multiplied by 6 results in 18. 20 subtracted by 18 is 2. so the expression 20%6 evaluates to 2.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message