Answer
Yes, the program will work if you replace line 63 in Rational.py with the following code:
temp = self – secondRational
Work Step by Step
Because in python __sub__ is a special method that corresponds to the '-' operator which is used for subtraction. And in Rational.py, we have overloaded the __sub__ operator for Rational class. Hence, we can use __sub__ method and '-' operator interchangeably for the objects of Rational class. Therefore the program will work correctly.