📜  如何在python代码示例中获取余数

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

代码示例2
a = 10
b = 3

c = a % b
print(c) # prints 1 as remainder