
Style guide
You should code your Python to follow PEP (Python Enhancement Proposal) documents, and in particular, PEP8.
PEP8
Comparing your code to PEP8's standards shows quite a few violations.
You should have whitespace between your binary operators.
factors=[]
number=int(n)
Two b...