批踢踢實業坊
›
看板
Python
關於我們
聯絡資訊
返回看板
作者
justlink (('(oo)'))
看板
Python
標題
[問題] 新手請益
時間
Thu Mar 19 19:45:09 2009
版本 3.1a 使用 win32 idle e = "e " print(e is "e ") 得到True Shell 底下 >>> e = "e " >>> e is "e " False 囧rz 這是? 另外關於 round(2.5) 這個問題的答案為何是2? --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.115.156.210
推
superGA
:
http://www.python.org/doc/2.5.2/lib/comparisons.html
03/19 21:05
→
superGA
:我的round正常 python2.5
03/19 21:06