摘要: 给定两个字符串str1和str2,返回字符串str2在str1中的所有的位置索引。 001、 直接实现 [root@pc1 test01]# ls test.py [root@pc1 test01]# cat test.py ## 程序 #!/usr/bin/env python # -*- cod 阅读全文
posted @ 2023-08-30 21:27 小鲨鱼2018 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 假定显性纯合子、杂合子、隐性纯合子的个数分别为k、m、n个,则随机收取两个个体,后代为显性性状的概率。 001、直接实现 [root@pc1 test01]# ls test.py [root@pc1 test01]# cat test.py ## 计算程序 #!/usr/bin/env pytho 阅读全文
posted @ 2023-08-30 20:20 小鲨鱼2018 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 001、 阅读全文
posted @ 2023-08-30 19:26 小鲨鱼2018 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 001、 。 阅读全文
posted @ 2023-08-30 19:26 小鲨鱼2018 阅读(6) 评论(0) 推荐(0) 编辑