#!/usr/bin/env python3
"""Find Greatest Common Factor"""
import random

def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)

def gcd(x, y):
    while y != 0:
        (x, y) = (y, x % y)
    return x

def main():
    #Generating two random numbers
    m = get_random_num()
    n = get_random_num()

    #Find and print Greatest Common Factor
    print (f"gcd of {m} and {n} is {gcd(m, n)}")

if __name__ == '__main__':
    main()

c8214574d494cebb210521ea8339badc041c2468
<mask token>


def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)


<mask token>


def main():
    m = get_random_num()
    n = get_random_num()
    print(f'gcd of {m} and {n} is {gcd(m, n)}')


<mask token>

<mask token>


def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)


def gcd(x, y):
    while y != 0:
        x, y = y, x % y
    return x


def main():
    m = get_random_num()
    n = get_random_num()
    print(f'gcd of {m} and {n} is {gcd(m, n)}')


<mask token>

<mask token>


def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)


def gcd(x, y):
    while y != 0:
        x, y = y, x % y
    return x


def main():
    m = get_random_num()
    n = get_random_num()
    print(f'gcd of {m} and {n} is {gcd(m, n)}')


if __name__ == '__main__':
    main()

<mask token>
import random


def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)


def gcd(x, y):
    while y != 0:
        x, y = y, x % y
    return x


def main():
    m = get_random_num()
    n = get_random_num()
    print(f'gcd of {m} and {n} is {gcd(m, n)}')


if __name__ == '__main__':
    main()

#!/usr/bin/env python3
"""Find Greatest Common Factor"""
import random

def get_random_num():
    start = 2
    stop = 50
    return random.randint(start, stop)

def gcd(x, y):
    while y != 0:
        (x, y) = (y, x % y)
    return x

def main():
    #Generating two random numbers
    m = get_random_num()
    n = get_random_num()

    #Find and print Greatest Common Factor
    print (f"gcd of {m} and {n} is {gcd(m, n)}")

if __name__ == '__main__':
    main()
