作者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