diff --git a/thesethreewords.py b/thesethreewords.py index b3d8c2d..4f68b26 100644 --- a/thesethreewords.py +++ b/thesethreewords.py @@ -148,7 +148,7 @@ class WordHasher(object): def to_bytes(self, integer): """Convert a 48bit `integer` to a list of 6bytes""" bytes = [integer & 0b11111111] - for n in xrange(1,6): + for n in range(1,6): div = 2**(n*8) bytes.append((integer/div) & 0b11111111)