Renamed all folders

This commit is contained in:
2021-04-16 16:58:48 +02:00
parent dbc6cfef05
commit 197b3eea8a
62 changed files with 0 additions and 0 deletions

18
048/main.py Normal file
View File

@@ -0,0 +1,18 @@
'''
The series, 11 + 22 + 33 + ... + 1010 = 10405071317.
Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000.
'''
def main():
print("Hello this is Patrick")
s = 0
for i in range(1,1001):
s += pow(i, i,10**10)
print(s % 10**10)
if __name__ == "__main__":
main()