如何在Python中计算mod b?

2024-04-24 01:25:56 发布

您现在位置:Python中文网/ 问答频道 /正文

Pythonmath库中是否有模函数?

不是15 % 4,3吗?但是15 mod 4是1,对吧?


Tags: 函数modpythonmath