apple = 'apple'
# 인덱싱
index1 = apple[1]
print(index1) # 'a'
# 슬라이싱
slice1 = apple[2:]
print(slice1) # 'ple'
# 오른쪽 정렬
"%10s" % ("apple") # ' apple'
# 왼쪽 정렬
"%-10s" % ("apple") # 'apple '
str = 'apple, 2, green, 5'
new_str = str.split(',') # ['apple', '2', 'grren', '5']
lst = ['K', 'O', 'R', 'E', 'A']
new_str = "".join(lst) # "KOREA"
str = "KOREA"
new_str = ",".join(str) # "K,O,R,E,A"
str = "KOREA"
str.find('R') # 2