摘要: 001、 来源: https://zhuanlan.zhihu.com/p/491676471 阅读全文
posted @ 2023-08-27 23:37 小鲨鱼2018 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 001、 阅读全文
posted @ 2023-08-27 21:51 小鲨鱼2018 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 001、 利用循环结构实现 [root@PC1 test01]# ls a.fa test.py [root@PC1 test01]# cat a.fa ## 测试DNA序列 AAAACCCGGT [root@PC1 test01]# cat test.py ## 程序 #!/usr/bin/env 阅读全文
posted @ 2023-08-27 21:30 小鲨鱼2018 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 001、利用切片实现 >>> str1 = "abcdef" ## 测试字符串 >>> str1[::-1] 'fedcba' 002、利用for 循环实现 >>> str1 = "abcdef" ## 测试字符串 >>> rev = "" >>> for i in str1: ## 循环结构实现反 阅读全文
posted @ 2023-08-27 21:14 小鲨鱼2018 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 001、 利用循环结构实现 [root@PC1 test01]# ls a.fa test.py [root@PC1 test01]# cat a.fa ## 测试RNA序列 AUGGCCAUGGCGCCCAGAACUGAGAUCAAUAGUACCCGUAUUAACGGGUGA [root@PC1 阅读全文
posted @ 2023-08-27 20:10 小鲨鱼2018 阅读(26) 评论(0) 推荐(0) 编辑