上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页
摘要: 高级加密标准(英语:Advanced Encryption Standard,缩写:AES),在密码学中又称Rijndael加密法,是美国联邦政府采用的一种区块加密标准。这个标准用来替代原先的DES,已经被多方分析且广为全世界所使用。经过五年的甄选流程,高级加密标准由美国国家标准与技术研究院(NIS 阅读全文
posted @ 2019-08-15 16:15 青春叛逆者 阅读(696) 评论(0) 推荐(0) 编辑
摘要: ''' 重载运算符强化--返回值 ''' # print(1+2)#不同的类型有不同的解释 # print('1'+'2') class complex: def __init__(self,x,y): self.x=x self.y=y def show(self): print(self.x,'+',self.y,'i') ... 阅读全文
posted @ 2019-08-14 10:23 青春叛逆者 阅读(137) 评论(0) 推荐(0) 编辑
摘要: ''' 重载运算符强化--返回值 ''' # print(1+2)#不同的类型有不同的解释 # print('1'+'2') class complex: def __init__(self,x,y): self.x=x self.y=y def show(self): print(self.x,'+',self.y,'i') ... 阅读全文
posted @ 2019-08-14 10:15 青春叛逆者 阅读(270) 评论(0) 推荐(0) 编辑
摘要: ''' 重载运算符 ''' # print(1+2)#不同的类型有不同的解释 # print('1'+'2') class complex: def __init__(self,x,y): self.x=x self.y=y def show(self): print(self.x,'+',self.y,'i') def... 阅读全文
posted @ 2019-08-14 10:06 青春叛逆者 阅读(87) 评论(0) 推荐(0) 编辑
摘要: ''' 有名对象,匿名对象 ''' class complex: def __init__(self,x,y): self.x=x self.y=y def show(self): print(self.x,'+',self.y,'i') c1=complex(1,2) c1.show() complex(1,2).sho... 阅读全文
posted @ 2019-08-14 10:05 青春叛逆者 阅读(93) 评论(0) 推荐(0) 编辑
摘要: ''' 有名对象,匿名对象 ''' class complex: def __init__(self,x,y): self.x=x self.y=y def show(self): print(self.x,'+',self.y,'i') c1=complex(1,2) c1.show() complex(1,2).sho... 阅读全文
posted @ 2019-08-14 10:05 青春叛逆者 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-08-14 09:53 青春叛逆者 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 通过创建一个空类,来验证动态创建属性 阅读全文
posted @ 2019-08-14 09:40 青春叛逆者 阅读(88) 评论(0) 推荐(0) 编辑
摘要: #面向过程函数方式实现代码重用 #面向对象不仅可以函数方式实现代码重用,还可以实现数据重用 阅读全文
posted @ 2019-08-14 09:01 青春叛逆者 阅读(120) 评论(0) 推荐(0) 编辑
摘要: import itertools mylist=list(itertools.permutations(['A','B','C','D'],4))#全排列 print(mylist) print(len(mylist)) #itertools.permutations([1,2,3,4],2)排列,4个数的列表,取出3个数,不同的顺序算, #5!=1*2*3*4*5 #0!=1 #M个选N个 ... 阅读全文
posted @ 2019-08-13 17:05 青春叛逆者 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 31 下一页