Remove intermediate variable from is_palindrome()
Readability fixes and allow command-line parameter for max in set
Improve readability and only import needed functions from math
Correct indentation so loop functions properly
Change print_factors() to return a string
Improves readability per PEP8