Untitled
unknown
python
4 years ago
229 B
6
Indexable
n = int(input())
def SUM(n):
ans = 0
for i in str(n):
ans += int(i)
return ans
total = SUM(n)
while total > 26:
total = SUM(total)
print("ABCDEFGHIJKLMNOPQRSTUVWXYZ"[total-1],end="")Editor is loading...