您当前的位置: 首页 >  Python

python的取list中类型不一致的最大值报错

qq_34412985 发布时间:2019-12-20 16:01:02 ,浏览量:5

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'

关注
打赏
1688896170
查看更多评论

qq_34412985

暂无认证

  • 5浏览

    0关注

    1025博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0460s