易老

导航

2015年9月6日 #

Python 笔记1 input 与raw_input

摘要: 尝试写一个猜字游戏时,使用了raw_input()作为输入。代码如下。think = 53guess = raw_input("Guess what I think\n")while True: if guess > think: print "It's too big." ... 阅读全文

posted @ 2015-09-06 00:36 易老 阅读(176) 评论(0) 推荐(0)