Polydivisible number: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
m Programming example: better to define "previous" using a list comprehension (it's clear, concise, idiomatic and faster)
Line 316:
"""Find polydivisible number."""
numbers = []
previous = [i for i in range(1, base)]
for i in range(1, base):
previous.append(i)
new = []
digits = 2