对 Python 语法不够了解导致的 bug. `in` '20' in '11264,6144,4096,3072,2048,1024,300,30' Out[7]: True a_list = '11264,6144,4096,3072,2048,1024,300,30'.split(',') a_list Out[10]: ['11264', '6144', '4096', '3072', '2048', '1024', '300', '30'] '20' in a_list Out[11