摘要: print ' 猜个数字,看看人品 ' #可以无限循环,或者加个次数限制 while 1: y=10 x=input() if x<y: print '猜小了' elif x>y: print'猜大了' else : print'恭喜你,猜对了' print ' ' 为了增加可玩性,加入随机数字 阅读全文
posted @ 2017-09-20 13:20 五个字呀 阅读(215) 评论(0) 推荐(0)