Generation

generate functionSat, 12 Nov 2022

check if a number is a factor of another number

def isFactor(a, b): return b % a == 0 isFactor(2, 10)

Want to kickstart your project?Use the new AI Studio to create your code