前面正常,除法有下面错误,怎么回事?? 按照标准代码敲得
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for /: 'Rational' and 'Rational'
除法还有别的表示方式么??
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for /: 'Rational' and 'Rational'
除法还有别的表示方式么??
2016-02-25
举报