从列表中找到两个最长的字符串||或PYTHON中第二长的列表 [英] Find the two longest strings from a list || or the second longest list in PYTHON

查看:257
本文介绍了从列表中找到两个最长的字符串||或PYTHON中第二长的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何从字符串列表(数组)中找到两个最长的字符串,或者如何从列表中找到第二个最长的字符串.谢谢

I'd like to know how i can find the two longest strings from a list(array) of strings or how to find the second longest string from a list. thanks

推荐答案

您可以使用标准的 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆