9.3.1 将文章中出现次数最多的单词改为全大写(微课) .pptxVIP

  • 1
  • 0
  • 约3.58千字
  • 约 15页
  • 2026-08-05 发布于陕西
  • 举报

9.3.1 将文章中出现次数最多的单词改为全大写(微课) .pptx

问题描述统计结果:[(the,6)]THEwindcarriesTHEhouseformilesandmiles.NowDorothycanstandupbecauseTHEhouseisntspinninganymore.THEcyclonehadsetTHEhousedownverygentlyinTHEmidstofacountryofgreatbeauty.Therewerelovelypatchesofgreenswardallabout,withstatelytreesbearingrichfruits.给定一段英文文章,请你编写程序统计出现次数最多的单词,并将文章中所有该单词改写为全大写字母。单词之间使用空格或标点符号隔开,单词连写,如“isnt”,看作一个单词。输入数据Thewindcarriesthehouseformilesandmiles.NowDorothycanstandupbecausethehouseisntspinninganymore.Thecyclonehadsetthehousedownverygentlyinthemidstofacountryofgreatbe

文档评论(0)

1亿VIP精品文档

相关文档