擅长:python、mysql、java
<p>试试这个:</p>
<pre><code>def chaselect():
print 'Now you must choose your race '
while player.race == None:
ace = raw_input('1. Human \n2. Elf \n3. Dwarf \n4. Orc\n')
if ace == '1':
print 'You chose human are you sure?'
con = raw_input('\n1. Confirm Race\n2. Read Lore\n3. Go Back')
</code></pre>