summaryrefslogtreecommitdiff
path: root/048.py
diff options
context:
space:
mode:
Diffstat (limited to '048.py')
-rw-r--r--048.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/048.py b/048.py
new file mode 100644
index 0000000..7c4102e
--- /dev/null
+++ b/048.py
@@ -0,0 +1,6 @@
+sum = 0
+for i in range(1, 1001):
+ sum += i**i
+
+print sum % 10**10
+