<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
Does Python have a function to reduce fractions?
<ASSISTANT_TASK:>
Python Code:
import numpy as np
numerator = 98
denominator = 42
gcd = np.gcd(numerator, denominator)
result = (numerator//gcd, denominator//gcd)
<END_TASK>