Crossin的编程教室

标题: Python第六节课输出有问题 [打印本页]

作者: 079    时间: 2018-2-25 10:27
标题: Python第六节课输出有问题
照着教程打出来但是电脑一次性将剩下的东西打出来了,是不是我哪里打错了?
代码:
num=10
print'Guess what I think'
answer=int(input())

result= answer<num
print'too small?'
print result

result= answer>num
print'too big?'
print result

result= answer==num
print'equal?'
print result

微信图片_20180225102512.png (25.92 KB, 下载次数: 244)

微信图片_20180225102512.png

微信图片_20180225102448.png (2.39 KB, 下载次数: 258)

微信图片_20180225102448.png


作者: crossin先生    时间: 2018-2-25 15:48
别急,学完第7课你就知道了




欢迎光临 Crossin的编程教室 (https://bbs.crossincode.com/) Powered by Discuz! X2.5