摘要: 使用while语句:number=23running=Truewhile running: guess=int(raw_input('Enter an integer:')) if guess==number: print 'Congratulations,you guessed it.' running=False# this causes the while loop to stop elif guessb: print a, 'is maximum' else: print b,'is maximum'pri... 阅读全文
posted @ 2013-09-21 15:00 ilxx1988 阅读(194) 评论(0) 推荐(0) 编辑