mirror of
https://github.com/tiennm99/CSX101.git
synced 2026-06-06 08:10:56 +00:00
8 lines
111 B
Python
8 lines
111 B
Python
import math
|
|
|
|
ip = int(input())
|
|
sum = 0
|
|
for i in range(1, ip):
|
|
if (ip % i == 0):
|
|
sum += i
|
|
print(sum) |