擅长:python、mysql、java
<p>您可以在if-else逻辑中使用<code>tries</code>。你知道吗</p>
<pre><code>if Response != "A" or Response != "a":
if tries == 0:
print("That is wrong")
elif tries == 1:
print("That is still wrong")
elif tries == 2:
print("Are you even trying")
</code></pre>