Answers for "python two number common division"

2

python two number common division

import math

def notRelprime(a,b):
    if a != 1 and b != 1:
        if a%1==a%2==0 and b%1==b%2==0 or b%a == 0 or a%b == 0:
            print("true")
            return True
        else:
            print("false")
            return False
    else:
        print("false")
        return False
notRelprime(3,7)
Posted by: Guest on April-25-2021

Code answers related to "python two number common division"

Python Answers by Framework

Browse Popular Code Answers by Language