문자열 관련 메소드 1) 대소치환(upper(),lower(),title()) 문자열.upper() : 문자열을 대문자로 치환 문자열.lower() : 문자열을 소문자로 치환 문자열.title() : 문자열 앞글자만 대문자로 치환 a1 = 'abc de12! cAA' a1.upper() #ABC DE12! CAA a1.lower() #abc de12! caa a1.title() #Abc De12! Caa 2) 공백제거(strip(),lstrip(),rstrip()) 문자열.strip() : 문자열 양옆 공백제거 문자열.lstrip() : 문자열 왼쪽 공백제거 문자열.rstrip() : 문자열 오른쪽 공백제거 ' dfc '.strip() #dfc ' dfc '.lstrip() #dfc ' dfc '.rst..