mirror of
https://github.com/jlengrand/project_euler.git
synced 2026-03-10 08:41:20 +00:00
21 lines
532 B
Python
Executable File
21 lines
532 B
Python
Executable File
#!/usr/bin/env python
|
|
"""
|
|
#---
|
|
Julien Lengrand-Lambert
|
|
Created on : Wed Jan 11 14:42:54 CET 2012
|
|
|
|
DESCRIPTION : Solves problem 6 of Project Euler
|
|
Find the difference between the sum of the squares of the first one hundred
|
|
natural numbers and the square of the sum.
|
|
#---
|
|
"""
|
|
def sum_squares():
|
|
"""
|
|
Returns the difference between the sum of the squares of the first one
|
|
hundred natural numbers and the square of the sum.
|
|
"""
|
|
return 1
|
|
|
|
if __name__ == '__main__':
|
|
print "Answer : %d " % (sum_squares())
|