- 博客(9)
- 收藏
- 关注
原创 Java_int[] 与ArrayList
int[] 与ArrayList 2022年05月10日 文章目录int[] 与ArrayList1. int[]2. ArrayList3. Int[]与ArrayList的转换 1. int[] int[]无法改变长度。 如果想返回空int[]: if (root == null){ return new int[0]; } 2. ArrayList 创建: ArrayList<Integer> ans = new ArrayList<>();
2022-05-10 22:14:14 470
原创 Python class调用函数
Python class中的函数调用 class Solution: def climbStairs(self, n: int) -> int: if n == 1: return 1 if n == 2: return 2 if n >= 3: return self.climbStairs(n-1) + self.climbStairs(n-2)
2022-04-17 15:47:07 1609
原创 R语言最基本的数据处理
R语言最基本的数据处理五个命令 五个命令 (1) select (2) filter (3) mutate (4) arrange (5) summarise library(dplyr) library(survival) head(colon) colon %>% select(-study) %>% filter(etype == 2) %>% mutate(time = round(time/30)) %>% arrange(age) %>% gr
2022-03-06 20:59:17 443
原创 分子克隆资料收集
SnapGene学习生物信息数据库质粒相关Link质粒基本要素质粒介绍Introduction解剖式学习质粒 生物信息数据库 SnapGene软件支持的功能更多。但是Viewer软件的可视化功能其实对于科研人员来说已经足够用了。可以说这是一款序列可视化处理的神器,易学、易用,非常适合科研工作者对序列的一些可视化处理工作,例如DNA序列引物设计、电子PCR、DNA和蛋白序列的区域注释、序列格式化排列和序列机器翻译等等操作。 SnapGene可以进行: 绘制图谱,编辑序列,设计引物,重组克隆 质粒相关Link
2020-12-15 21:33:52 160
原创 python_5
5.1 def inverse_int(a): b = list(str(a)) c = [] for i in b: c.insert(0,i) #print(c) d = len(c) #print(d) result = 0 for i in c: result += int(i) * (10 ** (d-1)) #print(result) d = d - 1 return result 4.2 def m(n): result = 0
2020-10-31 21:38:02 69
原创 python_2
Question 1 (5+10*x)/5-13*(y-1)*(a+b)/x+9*(5/x+(12+x)/y) Question 2 salary_per_month = input("请输入月薪:") salary_per_year = salary_per_month * 12 print(salary_per_year) Question 3 love = 'Only_love_my_bear.' print(love*100) Question 3 a = 'to be or not to
2020-10-31 21:05:19 62
原创 Python_4
4.1 4.2 grade = input('一个学生的成绩:') if grade < 60: print('不及格') if 60 < grade <79: print('及格') if 80 < grade < 89: print('良好') if 90 < grade > 100: print('优秀‘) 4.3 point = (x,y) if x > 0 and y > 0: print('第一象限') if x > 0
2020-10-31 20:57:39 151
原创 Python_3
Problem 1 Problem 2 [10 * x for x in range(3,9)] Problem 3 Problem 4 ##Problem 5 Problem 6 Problem 7 r1= dict(name="高小一",age=18,salary=30000,city="北京") r2= dict(name="高小二",age=19,salary=20000,city="上海") r3= dict(name="高小三",age=20,salary=10000,city=
2020-10-31 16:41:23 79
原创 python_1
Python Chapter_1202010311. Python程序安装2. 奥运五环3. 四个矩形功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 20201031 10月份的最后一天,第一次写CSDN的文章,觉得这个markd
2020-10-31 10:52:20 65
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人