用于基础数学运算的python模运算

时间:2017-04-01 08:06:56

标签: python modulo

有人可以解释14%40的模块在python编程语言中是如何14的?检查如下:

Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 14/40
0.35
>>> 14%40
14
>>> 

0 个答案:

没有答案