📜  python代码示例中和之间的区别

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

代码示例3
# The true div operator (//) return the quotien of a division
print(5 // 2)
# 2

# The modulo operator (%) returns the reminder of a division
print(5 % 1)
# 1