n=int(input("Enter a number of apples:"))
mn=int(input("Enter minimum number:"))
mx=int(input("Enter maximum number"))
for i in range(mn,mx+1):
if n%i==0:
print(f"{i} is a divisor of {n}")
else:
print(f"{i} is not a divisor of {n}")
print("***This is Eaglesoft Programmer***")
No comments:
Post a Comment