2.PNG (8.34 KB, 下载次数: 453)
报错信息
1.PNG (2.87 KB, 下载次数: 451)
源代码
j_teacher 发表于 2018-6-3 12:56
L=['Sean','ABC',-32.2,'IBM',-29]
list=[x.lower() for x in L if isinstance(x,str)==True]
print(list ...
欢迎光临 Crossin的编程教室 (https://bbs.crossincode.com/) | Powered by Discuz! X2.5 |