摘要: 作业课程:[2020-2021-1信息安全专业导论](https://edu.cnblogs.com/campus/besti/2020-2021-1) 作业要求:[2020-2021-1信息安全专业导论第九周作业](https://edu.cnblogs.com/campus/besti/2020 阅读全文
posted @ 2020-12-06 15:17 20201222龚杰 阅读(78) 评论(0) 推荐(0) 编辑
摘要: import random from fractions import Fraction def newint(): opr = ['+', '-', '×', '÷'] fh = random.randint(0, 3) n1 = random.randint(1, 20) n2 = random 阅读全文
posted @ 2020-11-29 15:00 20201222龚杰 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 原版: 修改: 1.方块的长宽; 2.页面的长宽; 3.游戏结束的提示; 4.新增一种2x3长方形块。 修改后: 参考资料: https://blog.csdn.net/ITxiaoangzai/article/details/81489136 阅读全文
posted @ 2020-11-28 15:00 20201222龚杰 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1. 2.编程泛型:命令式:FORTRAN,BASIC,C,C++...面向过程:C、COBOL、Fortran...面向对象:C++、Java、PHP、python、go、Objective-C...声明式:SQL...函数式:Haskell、F#、ML、Scala、lisp、logo、Schem 阅读全文
posted @ 2020-11-28 11:28 20201222龚杰 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 作业课程:[2020-2021-1信息安全专业导论](https://edu.cnblogs.com/campus/besti/2020-2021-1) 作业要求:[2020-2021-1信息安全专业导论第九周作业](https://edu.cnblogs.com/campus/besti/2020 阅读全文
posted @ 2020-11-28 10:11 20201222龚杰 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1.插入: WHILE(more data) Read (value and next 'p') Insert(mylist,value and next 'p') Reset(list) Write "Items in the list are" 2.删除 Find( next 'p' in li 阅读全文
posted @ 2020-11-22 19:51 20201222龚杰 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 半期内并没有学会真正的编程,只是会一些基本的命令操作,所以学得不是很好。谈谈教训吧,对我个人而言,可以算是零基础上这门课,然后上课跟不上老师的节奏,课后的时间也不是投入的特别多,就导致学习的进度特别慢。不过慢慢的也是自己加大了投入的精力,下面是半期来作业要求的代码,难得数有多少行了,不过大部分都是网 阅读全文
posted @ 2020-11-20 13:57 20201222龚杰 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 作业课程:[2020-2021-1信息安全专业导论](https://edu.cnblogs.com/campus/besti/2020-2021-1) 作业要求:[2020-2021-1信息安全专业导论第一周作业](https://edu.cnblogs.com/campus/besti/2020 阅读全文
posted @ 2020-11-20 13:39 20201222龚杰 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 伪代码: Write "Enter the new base"Read newBaseWrite "Enter the number to be converted"Read decimalNumberSet quotient to 1WHILE (quotient is not zero) Set 阅读全文
posted @ 2020-11-08 15:25 20201222龚杰 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 1.什么是fibnacci数列 斐波那契数列,又称黄金分割数列、兔子数列,是数学家列昂纳多·斐波那契于1202年提出的数列。斐波那契数列为1、1、2、3、5、8、13、21、34……此数列从第3项开始,每一项都等于前两项之和,递推公式为F(n)=F(n-1)+F(n-2),n≥3,F(1)=1,F( 阅读全文
posted @ 2020-11-08 12:17 20201222龚杰 阅读(50) 评论(0) 推荐(0) 编辑