运行此命令时出现语法错误:
class Stats:
Str = random.randint(3,18)
Int = random.randint(3,18)
Wis = random.randint(3,18)
Char = random.randint(3,18)
Con = random.randint(3,18)
print "Type the name of a stat (Str, Int, Wis, Char or Con) to see its value"
它说“关闭”引号是语法错误-因为什么时候出现字符串语法错误?