Smallest multiple: Difference between revisions
m
→{{header|Python}}: Updated output alignment
m (→{{header|Python}}: Updated output alignment) |
m (→{{header|Python}}: Updated output alignment) |
||
Line 522:
def main():
'''Tests for n drawn from {10, 20, 200}'''
xs = [10, 20, 200, 2000]
w = len(str(max(xs)))
print(
'\n'.join([
f'{n:>
for n in
])
)
print(w)
|