Files
project_euler/e_5.py
Julien Lengrand-Lambert 1a59914cf4 Solves problem 4
Creates templates for code
Initiates problem 5
2012-01-12 14:14:07 +01:00

23 lines
555 B
Python
Executable File

#!/usr/bin/env python
"""
#---
Julien Lengrand-Lambert
Created on : Wed Jan 11 14:42:54 CET 2012
DESCRIPTION : Solves problem 5 of Project Euler
2520 is the smallest number that can be divided by each of the numbers from 1
to 10 without any remainder.
What is the smallest positive number that is evenly divisible by all of the
numbers from 1 to 20?
#---
"""
def divisible_by_all():
"""
Returns the smallest number divisible by 1 to 20
"""
return 1
if __name__ == '__main__':
print "Answer : %d " % (divisible_by_all())