W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
# 导入数学库 import math # 计算两数相除的余数 print(math.remainder(23.5, 5)) print(math.remainder(23, 5.5)) print(math.remainder(12.5, 2.5)) print(math.remainder(12, 2))