num1 = int( input( "Enter a number: " ) ) num2 = int( input( "Enter a number: " ) ) num3 = num1 while num1 < num2 : num1 = num1 + num3 if num1 == num2 : print() print( num2, "is a multiple of", num3 ) else : print() print( num2, "is not a multiple of", num3 ) print() num1 = int( input( "Enter a number: " ) ) num2 = int( input( "Enter a number: " ) ) mult = 0 while mult <= num1 : mult = mult + 1 if num2 * mult == num1 : mult = num1 + 1 print() print( num2, "is a factor of", num1 ) elif mult == num1 : print() print( num2, "is not a factor of", num1 )