python中踩过的坑 只在If, else block中对变量单独赋值,必须对所有可能情形进行赋值,否则: Local variable must be referenced before assignment. " ".join(list_a) 中list_a的每一个变量都要是字符串