1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 08:08:11 +00:00

Use of print function from Python 3 requires ()

This commit is contained in:
Andreas M. Antonopoulos 2018-02-02 16:29:36 -06:00 committed by GitHub
parent 8b07de597e
commit b7d97a5e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,4 +15,4 @@ for nonce in range(20):
hash_data = hashlib.sha256(input_data).hexdigest()
# show the input and hash result
print input_data, '=>', hash_data
print(input_data, '=>', hash_data)