# 将元组中的None值去掉,并转换为list
input_= [('接口自动化测试用例', None, None, None, None, None, None)]
output = []
for each in input_:
newList = list(filter(None,each))
output += newList
print(output)
02-24
503
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-02
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交