摘要:
代码: def data_iter(n): for i in range(n): yield (i*i,i*i*i) for epoch in range(3): print("++++++In for Loop++++++") for a,b in data_iter(5): print("a = 阅读全文
摘要:
The rural lifestyle has many advantages. As we all know, the countryside is closer to the field and natural scenery. The air is fresher, the river is 阅读全文
摘要:
GCD算法原理: 扩展GCD算法原理: 代码呀: def gcd(a, b): while a != 0: a, b = b%a, a return b # calc : b^(-1) mod m def IntModInverse(b, m, show = True): if gcd(m,b) ! 阅读全文