python-list
11oggga
这个作者很懒,什么都没留下…
展开
-
Python-列表连接小记: can only concatenate list (not "float") to list
今天自己写python程序时出现了列表连接(operand +)报错,类似于这样:示例1:can only concatenate list (not “float”) to lista = [1,2,3,4,5,43]b =[1.2,3.4,5,6.1,4,2,3,9.00,66,1.222,3.45]c = a + b[3] TypeError: can only concatenate原创 2017-03-28 17:35:13 · 57870 阅读 · 0 评论 -
Python:检查数字列表里是否有空值
数字列表是否有空值 :u''原创 2017-03-28 20:00:49 · 13682 阅读 · 0 评论