程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python3 searches the text content, counts the number, displays the items by number, and displays the summary?

編輯:Python
 Number of Statistics ( in total 13 strip ) Number (1.2.3.4.5.6.7.) Show entries show summary , Content 

For example, search Luo Hao , Early in the morning ,.

 Chapter one Treasure recognition system  Saturday morning , Luo Hao walked into the breakfast shop opposite Panjiayuan . Luo Hao likes reading books from childhood , I spent a short time reading novels on my mobile phone after eating breakfast , In his senior year, he fell in love with the type of treasure appraisal theme , For this reason, I rented my residence next to Panjiayuan after graduation . Visit Panjiayuan every weekend , It became a great pleasure for him . Read novels while eating , It has long become his habit . Just finished breakfast , Light , Almost completely transparent words , One by one, he flew out from the bottom of his mobile phone , The sleeve against the shirt quickly floated into his head . 【 The tacit understanding between the host and the treasure system is 100% , The system is automatically activated ……】 【 Treasure system activation , The host automatically gets a reward : Elementary ancient knowledge 】 【 Task auto publishing ……】 【 The task has been released 】 The head seems to have been knocked heavily , Luo Hao doesn't know what's going on , There is something like a high-tech virtual picture in front of us , This is a panel , There are many words written on the panel . 【 Task content : Buy a piece of porcelain with an actual value of more than ten times within three days ( Hang in the air )】 【 Task completion reward : Primary perspective eye , Intermediate ancient knowledge , Primary burst fist ( Choose one of three ),】 【 Task failure penalty : The system gift ability is eliminated .】 【 The current capacity of the host : Elementary ancient knowledge ( The recognizable item is 60 years , Usage method , With fingers as the medium , Focus and you can recognize 】 The panel is transparent , All cyan characters , Science fiction , After Luo Hao finishes reading it all , The picture slowly disappears , Luo Hao was completely stunned . Treasure recognition system ? The novel he just read is called 《 My treasure recognition system 》, This is not the ability of the protagonist of that novel , Now it actually appears in his mind ? The protagonist who was still envious of reading before , Now it's him ? The difference is , The protagonist in the novel has these abilities directly , And he seems to need to complete system tasks to have . With fingers as the medium , This is easy to understand , Luo Hao simply put his hand on the sitting chair , Be highly concentrated , A magical scene really happened . 【 Wooden chair , Within 60 years 】 In his mind , Naturally, the information of chair appears , It's just a little simple . Luo Hao remembered that he had bought a jade plaque in Panjiayuan not long ago , According to the boss, it is an old object of the late Qing Dynasty and the Republic of China , Luo Hao immediately took the jade card out of his neck , Put it in the palm , Concentrate on . 【 Yupai , Within 60 years 】 The information of the jade plate flashed quickly , Luo Hao was stunned , This jade plaque cost him 800 yuan , Buy curios for fun , He has been cooking , I didn't expect it to be a modern product . I dare to tell him ‘ Antiques ’, It's a modern thing , It's not an old thing at all . Pan Jiayuan's old man who looks simple and honest , Deceive yourself ? Leave the breakfast shop , Luo Hao immediately entered pan Jiayuan , Originally, I wanted to visit here , Now there are system tasks , There is also the super ability ancient knowledge given by the system , Luo Hao is full of confidence in completing the task . It's just eight o'clock in the morning , Panjiayuan stalls are already full , All kinds of things are dazzling , What jade pendant, jade plate, jade bracelet , Ancient copper coin and sword , Calligraphy and painting , Buddha wax and so on , have everything that one expects to find . Luo Hao only looks at porcelain , The task of system release is ‘ Buy a piece of porcelain with an actual value of more than ten times within three days ’. In his opinion, there are two key points of this task , The first is porcelain , You can only buy Porcelain , The second is the actual value , If his purchase price is more than ten times . It's easy to understand , For example, he spent 100 yuan to buy Porcelain , It's actually worth a thousand yuan , Simply speaking , This task is to let him pick up a porcelain that is more than ten times leaky . 【 Celestial bottle , Within 60 years !】 【 Tea cups , Within 60 years 】 【 Bottle gourd , Within 60 years 】 【 pulm vase , Within 60 years 】 There are not many kinds of porcelain on the stall , No matter which dynasty the vendor said , Luo Hao got started , Ancient knowledge starts , It's all new things in 60 years . Hundreds of porcelain pieces of all kinds have been identified in a row in the morning , Luo Hao consumes a lot of mental energy , Leng is a real old object that has not been identified . No wonder people say , Want to pick up the leak in Panjiayuan , You might as well buy lottery tickets , The chance of winning the lottery , It's more likely than picking up leaks here . I haven't even met an old object , Not to mention the porcelain required by the task . Originally thought it was a simple task , Isn't it just to pick up the leak , It's so easy to find leaks in novels , Plus there are super powers , Although it can only be identified whether it is within 60 years , But at least it can identify whether it is a real antique , So when I just learned about the system task , Luo Hao is full of confidence .

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved