Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lista = []
- n = int(input("Inserire N: "))
- for k in range(1, n):
- if(n % k == 0):
- lista.append(k)
- print("I divisori di %d sono" % n)
- print(lista)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement