guess what i think?
100
too small?
False
too big?
True
equal?
10
------------------------
不对劲,结果为什么会这样?
程序是
num=10
print 'guess what i think?'
answer=input()
result=answer<num
print 'too small?'
print result
result=answer>num
print 'too big?'
print result
result=answer=num
print 'equal?'
print result
作者: puffbaby 时间: 2013-10-4 22:09
nemo 发表于 2013-10-1 09:27
guess what i think?
100
too small?