''' Euler48.py
'   (c) Riwaz Poudyal
'   0.045 secs
'''


sum = 0
for x in range(1,1001):
    sum += x**x
s = str(sum)
print (s[len(s)-10:])

2cf6d38b074fdd4037009cb49e046d1006ad5507
<mask token>

<mask token>
for x in range(1, 1001):
    sum += x ** x
<mask token>
print(s[len(s) - 10:])

<mask token>
sum = 0
for x in range(1, 1001):
    sum += x ** x
s = str(sum)
print(s[len(s) - 10:])

''' Euler48.py
'   (c) Riwaz Poudyal
'   0.045 secs
'''


sum = 0
for x in range(1,1001):
    sum += x**x
s = str(sum)
print (s[len(s)-10:])
