Print Factors

Run Settings
LanguagePython
Language Version
Run Command
#python program to print factors from a given input number = int(input("Enter an integer:")) print("The factors of",number,"are") for i in range(1,number+1): if number%i == 0: print(i)
Editor Settings
Theme
Key bindings
Full width
Lines