Write a python function to find HCf or GCD and return the value using euclidian Algorithm
Topic: Write a python function to find HCf or GCD and return the value using euclidian Algorithm
Solution
def compute_hcf(x, y): while(y): x, y = y, x % y return x
List all Python Programs