m0_74111013 2022-10-07 09:23 采纳率: 100%
浏览 40
已结题

python统计每个单词的长度并返回整数列表[x,y,z],并升序排列

para='Furthermore, the curve is the citation path connecting lines from the left side to the right side. This connection demonstrates the flow of knowledge inn different areas. The scattered points of the citing mapp aind the cited mapp are concentrated on the bottom side, involving many discipline categories. Finding the regions wiith the most citation launching points inn the citing portion on the mapp makes it straightforward to determine the disciplinary regions where a topic has advantages.'

  • 写回答

1条回答 默认 最新

  • Java大魔王 2022-10-07 09:33
    关注
    
    para='Furthermore, the curve is the citation path connecting lines from the left side to the right side. This connection demonstrates the flow of knowledge inn different areas. The scattered points of the citing mapp aind the cited mapp are concentrated on the bottom side, involving many discipline categories. Finding the regions wiith the most citation launching points inn the citing portion on the mapp makes it straightforward to determine the disciplinary regions where a topic has advantages.'
    para.replace(',', '')
    para_list = para.split(' ')
    print(para_list)
    dict = {}
    for item in para_list:
        if item not in dict:
            dict[item]= len(item)
    print(dict)
    # 取出所有的值,并排序
    dict_values_ist = list(dict.values())
    dict_values_ist.sort()
    print(dict_values_ist)
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论 编辑记录

报告相同问题?

问题事件

  • 系统已结题 10月15日
  • 已采纳回答 10月7日
  • 创建了问题 10月7日

悬赏问题

  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大