Impact of Pr on structural, superconducting and magnetic properties of Y1−xPrxBaSrCu3O7