上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 367 下一页
摘要: 001、方法1 (base) root@PC1:/home/test2# ls a.fasta test.py (base) root@PC1:/home/test2# cat a.fasta ## 测试fasta文件 >gene1 myc AGCTGCCTAAGC GGCATAGCTAATCG > 阅读全文
posted @ 2022-08-13 18:25 小鲨鱼2018 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> print("xxxx") ## 输出内容, 同时添加换行符 xxxx >>> print("xxxx", end = "") ## 输出内容, 不添加换行符 xxxx>>> 参考:https://blog.csdn.net/DisolveDislove/article/detai 阅读全文
posted @ 2022-08-13 18:18 小鲨鱼2018 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 001、 (base) root@PC1:/home/test2# ls a.fasta test.py (base) root@PC1:/home/test2# cat a.fasta ## 测试fasta文件 >gene1 myc AGCTGCCTAAGC GGCATAGCTAATCG >gen 阅读全文
posted @ 2022-08-13 18:12 小鲨鱼2018 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 001、问题 (base) root@PC1:/home/test2# curl -O ftp://ftp.arabidopsis.org/home/tair/Genes/TAIR10_genome_release/TAIR10_gff3/TAIR10_GFF3_genes.gff curl: er 阅读全文
posted @ 2022-08-13 17:53 小鲨鱼2018 阅读(3210) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> import openpyxl ## 导入包 >>> import numpy as np >>> import pandas as pd >>> s1=list('ATGATAGCAGTGAAATGGG') ## 将序列储存为列表 >>> s1 ['A', 'T', 'G', ' 阅读全文
posted @ 2022-08-13 16:36 小鲨鱼2018 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 001、 >>> test = [("a",100), ("b", 200), ("c", 300)] >>> test [('a', 100), ('b', 200), ('c', 300)] >>> dict(test) ## 列表转换为字典 {'a': 100, 'b': 200, 'c': 阅读全文
posted @ 2022-08-13 16:14 小鲨鱼2018 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 001、 #include <stdio.h> #define NUMBER 5 // 此处为对象式宏, 运行程序时, main函数体内的NUMBER将被替换为5 int main(void) { int i; int tensu[NUMBER]; int sum = 0; printf("plea 阅读全文
posted @ 2022-08-13 00:45 小鲨鱼2018 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 001、 #include <stdio.h> #define NUMBER 7 int main(void) { int i, temp; int array[NUMBER]; puts("please input the arrays."); for(i = 0; i < NUMBER; i++ 阅读全文
posted @ 2022-08-13 00:37 小鲨鱼2018 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 001、 #include <stdio.h> int main(void) { int i; puts("please input an positive num."); printf("i = "); scanf("%d", &i); while (i > 0) { printf("%d", i 阅读全文
posted @ 2022-08-12 22:04 小鲨鱼2018 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 001、c语言中字符常量用单引号括起来, 用putchar函数输出。 字符常量是 int类型。 字符常量为什么是int型? #include <stdio.h> int main(void) { int i; for (i = 1; i <= 5; i++) { putchar('*'); ## 单 阅读全文
posted @ 2022-08-12 20:48 小鲨鱼2018 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 150 151 152 153 154 155 156 157 158 ··· 367 下一页