This challenge involved finding the factors of multiple composite numbers.
def check_factors(a,b,ab):
if abs(a)<=1 or abs(b)<=1:
print("too easy")
return False
if type(a*b) == float:
print("no floats please")
return False
return a*b == ab
The check_factors
function disallows floats and factors
Our quick-and-dirty strategy was therefore to use the factor ncat
timeouted), we got the flag
using this approach in the end.