阅读背景:

检查python列表是否有任何元素是字符串类型

来源:互联网 

I am trying to raise a TypeError if a list contains an element of string data type when a mixed type of list given. I was able to do this with the code below but I wonder if there is a better way to achieve the same result. if a list cont




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: