Aug 20, 2017 08:53 AM
(This post was last modified: Aug 20, 2017 08:54 AM by Ricy.)
Hi, I am using a script for a school project but as soon as I try to execute it I get this error :
File "python", line 47
print "Block #{}\n has been added to the blockchain" .format(block_to_add.index)
SyntaxError: invalid syntax
*this being pointed to be wrong
Python Says theres something wrong with the following 2 lines :
print "Block #{}\n has been added to the blockchain" .format(block_to_add.index)
print "Hash: {}\n " .format(block_to_add.hash)
[/b]
Someone who can help me out? Thanks!
File "python", line 47
print "Block #{}\n has been added to the blockchain" .format(block_to_add.index)
SyntaxError: invalid syntax
*this being pointed to be wrong
Python Says theres something wrong with the following 2 lines :
print "Block #{}\n has been added to the blockchain" .format(block_to_add.index)
print "Hash: {}\n " .format(block_to_add.hash)
[/b]
Someone who can help me out? Thanks!




![[Image: ouURNlq.png]](https://i.imgur.com/ouURNlq.png)