Traceback (most recent call last):
File "C:/Users/pactera/PycharmProjects/study/number", line 8, in
print("list1[1:5]:",max(list1));
TypeError: '>' not supported between instances of 'int' and 'str'
python的取list中类型不一致的最大值报错
关注
打赏
