diff --git a/e9.c b/e9.c deleted file mode 100644 index e69de29..0000000 diff --git a/e9.py b/e9.py new file mode 100644 index 0000000..64990df --- /dev/null +++ b/e9.py @@ -0,0 +1,6 @@ +#PYTHON CODE +a=int(input("ENTER A NUMBER")) +print("The factors of",a,"are:") + for i in range(1, x + 1): + if x % i == 0: + print(i)