擅长:python、mysql、java
<p>你想在python2中<code>raw_input()</code></p>
<pre><code>while True:
s = raw_input('Enter something : ')
if s == 'quit':
break
print 'Length of the string is', len(s)
print 'Done'
</code></pre>
<p><code>input()</code>尝试评估(危险!)你的付出</p>