print("Inserire 2 numeri")
n1=int (input())
n2=int (input())
c=2
while c<n1:
    if n1%c==0:
        if c>=n1 and c<=n2:
            print(c)
    c=c+1

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: