阅读背景:

确定python分数是否可以具有等效的小数

来源:互联网 

I need to write a python function that takes, as an argument, an object of class "Fraction", and determines whether the fraction can be represented in decimal format. For example, 1/2 can be represented by 0.5, but 1/3 has no decimal equivalent with finite number of digits (0.333333333 is an approximated value). I need to write a python function that takes, a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: