|
为什么程序1和2执行的结果不一样。
就是print语句对齐不一样。
看过了python语法之后就明白了。
1--------------------------------------------------------------
while True:
s = raw_input('Enter something:')
if s == 'quit':
break
if len(s) < 3:
continue
. print 'Input is of sufficient length'
2--------------------------------------------------------------
while True:
s = raw_input('Enter something:')
if s == 'quit':
break
if len(s) < 3:
continue
print 'Input is of sufficient length' |
|