Question #320236

Given an integer input 1 and input 2 prime encoder function returns an integer array


Expert's answer

input numpy as np
int1 = int(input())
int2 = int(input())

for i in range(int1,int2+1):
  if (num % i) == 0:
            # if factor is found, set flag to True
            flag = True
            # break out of loop
            break
LATEST TUTORIALS
APPROVED BY CLIENTS