2008年5月16日星期五

[Python的自由天空] 为什么Python加法是这样的???



 
 

Sent to you by WangKing via Google Reader:

 
 

via 水木社区 今日十大热门话题 by Auguster on 5/15/08

发信人: Auguster (与你们同在!), 信区: Python
标 题: 为什么Python加法是这样的???
发信站: 水木社区 (Thu May 15 16:55:36 2008), 转信

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\august>python
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 14.6+28.8+31.9
75.299999999999997
>>> 14.6+28.8
43.399999999999999
>>> 15+28
43
>>>


--
Linux和Windows的区别是:Linux越新越快,Windows是越新越慢!


※ 来源:·水木社区 http://newsmth.net·[FROM: 60.247.103.*]

 
 

Things you can do from here:

 
 

没有评论:

发表评论