mod 函数如果使用数学运算来表达的话,可以使用下列式子表示:a mod b = a - int(a/b) * b表示计算不大于参数的最大整数比如:6 mod 8 = 6 - int(6/8) ...
確定! 回上一頁