Untitled

 avatar
unknown
python
3 years ago
229 B
4
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...