Complete the implementation of the Fraction class provided below.class Fraction:#Constructor. Puts fraction in simplest formdef __init__(self,a,b):self.num = aself.den = bself.simplify()#Print Fractio