Program to find factors of a number python Leave a Comment / python program Table of Contents ToggleProgram to Find the Factor of Number. Program to Find the Factor of Number. Example: Program to Find the Factor of Number. x=int(input("Enter No. :")) for i in range(1,x+1): if(x%i==0): print(i)