擅长:python、mysql、java
<p>我认为问题是在调用函数“askUserToPlayNextMove”时有一组额外的括号</p>
<p>你的功能是:</p>
<pre><code>askUserToPlayNextMove ((player_names['X'], player_marks))
</code></pre>
<p>我想把它改成:</p>
^{pr2}$
<p>会解决你的问题。当您在函数调用中的参数周围加上一组括号时,它会将括号内的数据解释为与函数中的某个参数相对应。删除额外的集合将这些参数作为两个独立的参数传递,而不是一个。在</p>