Commit 3dad3506 by BellCodeEditor

auto save

parent 59f687ca
Showing with 16 additions and 0 deletions
for i in range(1,1001):
a = str( i )
sum = 0
for x in a:
sum += int(x)
if sum == 5:
print( i )
\ No newline at end of file
n = 676865
n = str( n )
sum = 0
for i in n:
sum += int(i)
print(sum)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment