📜  python代码示例中的模数是什么

📅  最后修改于: 2022-03-11 14:46:38.731000             🧑  作者: Mango

代码示例1
# Modulus is the reminder of the 2 divisions, ex 25 % 2 = 1
#ie, 2*12 = 24 and the number is 25 so when we divide 25/2 the reminder is 1

print(25%2)
# Output = 1
#Hope you understood that, have a nice day :D