作者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
2F:→ superGA:我的round正常 python2.5 03/19 21:06