mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 19:26:14 +02:00
Porting code with 2to3 with some manual changes. The pillow modules is now required https://github.com/python-imaging/Pillow/
This commit is contained in:
parent
f629773772
commit
b3a4bdaf4b
10 changed files with 54 additions and 53 deletions
|
@ -50,7 +50,7 @@ def OEIS_A000217():
|
|||
"""
|
||||
n = 0
|
||||
while True:
|
||||
yield (n*(n+1))/2
|
||||
yield (n*(n+1))//2
|
||||
n += 1
|
||||
|
||||
def fermat():
|
||||
|
@ -152,4 +152,4 @@ if __name__ == "__main__":
|
|||
# Point of entry in execution mode.
|
||||
f = fibonacci()
|
||||
for x in range(13):
|
||||
print f.next(), # 0 1 1 2 3 5 8 13 21 34 55 89 144
|
||||
print(next(f), end=' ') # 0 1 1 2 3 5 8 13 21 34 55 89 144
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue