-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:What's wrong with Python's integer and floating point numbers?

Luz3年前 (2021-05-10)题库343
What's wrong with Python's integer and floating point numbers?
@[C](2)
A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.




A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.


answer:C

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。