【发布时间】:2020-02-07 12:39:19
【问题描述】:
我有这个列表叫你好:
['Apple is one of the most healthy fruits ever - it grows in many countries',
'Jenny likes strawberry',
'He had an accident in New York Downtown',
'One of the safest cities is the city Tokyo in Japan',
'Some drugs are better than others',
'Ice-cream is famous, Italian ice-cream is the most famous',
'German cars are known to be the best cars']
我想要这些句子的平均字符,并取出比平均长的句子。我该怎么做?
【问题讨论】:
-
不清楚你在问什么,举个例子你想做什么
标签: python python-3.x list indexing