python
flsdqm
这个作者很懒,什么都没留下…
展开
-
python字母频率统计
统计马丁·路德·金的《I have a dream》的英文全文中,26个英文字母的频率。s='''I am happy to join with you today in what will go down in history as the greatest demonstration for freedom in the history of our nation.Five score years ago, a great American, in whose symbolic shadow w原创 2021-12-14 18:53:22 · 2708 阅读 · 0 评论 -
大肠杆菌分裂计算作业
请用Python编程求解: 在环境最合适的条件下,大肠杆菌可以20分钟分裂一次。现培养皿中有2万个大肠杆菌。假如保持最佳条件,求6小时后大肠杆菌的数量。Time=6*60k=20Num0=20000Num=Num0*2**(Time/20)print(Num)结果如下图:...原创 2021-12-07 19:43:44 · 286 阅读 · 0 评论