Print function in tutorial