.replace()
say = "하이"
print(say.replace("하이", "올라"))
올라
.strip()
공백 제거
# .rstrip()
# .lstrip()
a = " t e s t "
print(a.strip())
t e s t
.upper()
대문자
# .lower()
a = "grace"
print(a.upper())
GRACE
.count()
len()
msg = "Sunflower loves Sun."
print(msg.count("Sun"))
# 2
print(msg.count("a"))
# 0
print(len(msg))
# 20