Update mining.py

On the new Python version "print" is a function.