📜  “在 python 中除法时如何获取数字的余数” - Python 代码示例

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

代码示例2
a = 10
b = 3

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