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:
parent
8b07de597e
commit
b7d97a5e80
@ -15,4 +15,4 @@ for nonce in range(20):
|
|||||||
hash_data = hashlib.sha256(input_data).hexdigest()
|
hash_data = hashlib.sha256(input_data).hexdigest()
|
||||||
|
|
||||||
# show the input and hash result
|
# show the input and hash result
|
||||||
print input_data, '=>', hash_data
|
print(input_data, '=>', hash_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user