Python3 | 判断变量是否是列表

使用bool(isinstance(variable, list))

Posted by Haauleon on November 20, 2023