Python 运算符 //?

有人可以帮忙解释一下//在下面的例子中python中的含义吗:

'''

def inches_to_feet2(inches):
feet = inches//12
extra_inches = inches%feet
print(inches,"inches is",feet,"feet and",extra_inches,"inches")
zhoulang914 回答:Python 运算符 //?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/22097.html

大家都在问