擅长:python、mysql、java
<p>不要在<code>import StartGame</code>脚本中<code>Storyline</code>。相反,只需将所需的值传递给<code>StartGame1</code>函数。你知道吗</p>
<pre><code># Storyline.py
def startGame1(currentPokemon):
print ("Welcome to the H.Q of I.O.D")
print ("I am Professor Steel.")
print ("I see you have picked ", currentPokemon)
</code></pre>
<p>然后在<code>startGame</code>调用<code>Storyline.startGame1(inputKK)</code>,传递口袋妖怪的名字。你知道吗</p>
<p>顺便说一句,您的<code>startGame1</code>函数不在模块<code>startGame</code>中,这有点令人困惑。。。你知道吗</p>