Saved Bookmarks
| 1. |
Write a program to input any number and to print all the factors of that number. |
|
Answer» n = inputfEnter the number") for i in range(2,n): if n%i == 0: print i,“is a factor of’.n |
|