擅长:python、mysql、java
<p>你必须这么做</p>
<pre><code>z = raw_input()
</code></pre>
<p>同样输入在<code>python2.x</code>中以<code>int</code>的形式返回。所以使用<code>raw_input</code>读取<code>str</code>,然后像<code>print('The answer is ' + y**x)</code>一样到处输入<code>print('The answer is ' + str(y**x))</code></p>