1. Fraction from fractions import Fraction print(Fraction(100, 75)) 结果为:4/3 2. gcd from fractions import gcd print(gcd(100, 75)) 结果为:25