Function to print the ratio of LCM to GCD of the given array
def findRatio ( arr , n ) : NEW_LINE INDENT gcd = findGCD ( arr , n ) NEW_LINE lcm = findLCM ( arr , n ) NEW_LINE print ( int ( lcm / gcd ) , " : " , "1" ) NEW_LINE DEDENT