Week 7 Assignment 3 Deadline Tomorrow

Anonymous
python
03/13/2024 5:32 PM
160 B
15
Indexable
label = input()
output = 0
for char in label:
    output = output * 26 + (ord(char) - ord('A') + 1)

print(output)
Editor is loading...
Leave a Comment