Update for python3... Add () to the print statement..
Eg: print ("There were 100 coins and you flipped them all! " + str(tails) + " were tails and " + \ str(heads) + " were heads, thanks for flipping! ")