1️⃣ 아스키 코드

ascii = ord( input() )
print(ascii)

https://wikidocs.net/32#ord

2️⃣ 숫자의 합

N = int(input())
str_ = map(int, input())
s = sum(str_)
print(s)

3️⃣ 알파벳 찾기

string = input()
alpabetList = [-1]*26

for i in string:
  index_ = int(ord(i)) - 97
  alpabetList[index_] = string.index(i)

# 출력문
for i in range(26):
  print(alpabetList[i], end=" ")

https://wikidocs.net/13#2index

https://www.geeksforgeeks.org/python-list-index/

4️⃣ 문자열 반복