擅长:python、mysql、java
<pre><code>k1 = ['UCF', 'Mario', 'JonnnyStorm']
k2 = [10, 14, 5]
k3 = [300, 700, 600]
for p,g,h in zip(k1,k2,k3):
if g > 10 and h > 400:
print '{0} has {1} points and is at Rank {2}'.format(p, g, h)
</code></pre>
<p>您的代码在条件中测试<code>k2</code>和<code>k3</code>,而不是测试其中的元素。你知道吗</p>